diff options
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 4c56ce0863e..245163bc37c 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 987649163f1..c88c0c3eb2f 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 |