2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
authorPierre Muller <muller@sourceware.org>
Mon, 8 Oct 2007 15:09:04 +0000 (15:09 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 8 Oct 2007 15:09:04 +0000 (15:09 +0000)
* linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>.
Makefile.in (linux-fork.o): Add gdb_dirent.h dependency.

gdb/ChangeLog
gdb/Makefile.in
gdb/linux-fork.c

index ee2e1d2..b4fbe68 100644 (file)
@@ -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.
 
index 1c068a3..863b200 100644 (file)
@@ -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) \
index 82ff525..9c81d88 100644 (file)
@@ -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;