aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-11-05 19:22:08 +0000
committerDaniel Jacobowitz <drow@false.org>2007-11-05 19:22:08 +0000
commitf9387fc3b0363dd151d39e413bbd1ba8df0e7b98 (patch)
tree9e977f596bc3017fa5cab4d936d562106aedff77 /gdb
parentc40e75cd6ed0e6a44189ea5f5516b67b268eb308 (diff)
downloadgdb-f9387fc3b0363dd151d39e413bbd1ba8df0e7b98.zip
gdb-f9387fc3b0363dd151d39e413bbd1ba8df0e7b98.tar.gz
gdb-f9387fc3b0363dd151d39e413bbd1ba8df0e7b98.tar.bz2
* linux-low.c: Include <sched.h>.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/linux-low.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 4c56ce0..245163b 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-05 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * linux-low.c: Include <sched.h>.
+
2007-11-01 Daniel Jacobowitz <dan@codesourcery.com>
* linux-low.c (linux_tracefork_grandchild): New.
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 9876491..c88c0c3 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -34,6 +34,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/syscall.h>
+#include <sched.h>
#ifndef PTRACE_GETSIGINFO
# define PTRACE_GETSIGINFO 0x4202