aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/linux-fork.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5244f54..7ed1d7d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>.
+ Makefile.in (linux-fork.o): Add gdb_wait.h dependency.
+
+
2007-10-05 Daniel Jacobowitz <dan@codesourcery.com>
* remote.c (get_offsets): Only call free_symfile_segment_data if
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 6469244..1c068a3 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2236,7 +2236,7 @@ linespec.o: linespec.c $(defs_h) $(symtab_h) $(frame_h) $(command_h) \
$(objc_lang_h) $(linespec_h) $(exceptions_h) $(language_h)
linux-fork.o: linux-fork.c $(defs_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) \
$(infcall_h) $(gdb_assert_h) $(gdb_string_h) $(linux_fork_h) \
- $(linux_nat_h)
+ $(linux_nat_h) $(gdb_wait_h)
linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_string_h) \
$(gdb_wait_h) $(gdb_assert_h) $(linux_nat_h) $(gdbthread_h) \
$(gdbcmd_h) $(regcache_h) $(regset_h) $(inf_ptrace_h) $(auxv_h) \
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index 7141637..83d92fe 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -26,9 +26,9 @@
#include "gdb_string.h"
#include "linux-fork.h"
#include "linux-nat.h"
+#include "gdb_wait.h"
#include <sys/ptrace.h>
-#include <sys/wait.h>
#include <sys/param.h>
#include <dirent.h>
#include <ctype.h>