summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
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/gdbserver
parentc40e75cd6ed0e6a44189ea5f5516b67b268eb308 (diff)
downloadbinutils-gdb-f9387fc3b0363dd151d39e413bbd1ba8df0e7b98.tar.gz
* linux-low.c: Include <sched.h>.
Diffstat (limited to 'gdb/gdbserver')
-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 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