summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2007-10-08 15:09:04 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2007-10-08 15:09:04 +0000
commit912750030c715cab51e6c96b601d727d3057c4d4 (patch)
treeef870818f9628dedbb1547f33eac4b37f89cd8a6
parent92237eabe22fb7bfa5c55dd63af329153df4ed46 (diff)
downloadgdb-912750030c715cab51e6c96b601d727d3057c4d4.tar.gz
2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
* linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>. Makefile.in (linux-fork.o): Add gdb_dirent.h dependency.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/linux-fork.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ee2e1d2d981..b4fbe6829e9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
+ * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>.
+ Makefile.in (linux-fork.o): Add gdb_dirent.h dependency.
+
+2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
+
* linux-fork.c: Move "gdb_wait.h" include back to the position of
<sys/wait.h> include before last commit.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 1c068a39bce..863b2004cbb 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) $(gdb_wait_h)
+ $(linux_nat_h) $(gdb_wait_h) $(gdb_dirent_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 82ff5256a9f..9c81d882eaa 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -30,7 +30,7 @@
#include <sys/ptrace.h>
#include "gdb_wait.h"
#include <sys/param.h>
-#include <dirent.h>
+#include "gdb_dirent.h"
#include <ctype.h>
struct fork_info *fork_list;