aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2007-10-08 15:09:04 +0000
committerPierre Muller <muller@sourceware.org>2007-10-08 15:09:04 +0000
commit91c066694a28a06f88fb720dca8735e606b884d4 (patch)
tree860f67dc1c92be99b070677d2372fb38caa75ea1 /gdb
parent3c61c145cc02ff7ec9ec2435651ebe6825dddaa6 (diff)
downloadfsf-binutils-gdb-91c066694a28a06f88fb720dca8735e606b884d4.zip
fsf-binutils-gdb-91c066694a28a06f88fb720dca8735e606b884d4.tar.gz
fsf-binutils-gdb-91c066694a28a06f88fb720dca8735e606b884d4.tar.bz2
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.
Diffstat (limited to 'gdb')
-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 ee2e1d2..b4fbe68 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 1c068a3..863b200 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 82ff525..9c81d88 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;