aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/common/filestuff.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 402971b..dc37b96 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2013-04-29 Joel Brobecker <brobecker@adacore.com>
+ * common/filestuff.c: Replace #include <dirent.h> by
+ #include "gdb_dirent.h".
+
+2013-04-29 Joel Brobecker <brobecker@adacore.com>
+
* common/filestuff.c: Replace #include <sys/stat.h> by
#include "gdb_stat.h".
diff --git a/gdb/common/filestuff.c b/gdb/common/filestuff.c
index 0271ea8..68f66ca 100644
--- a/gdb/common/filestuff.c
+++ b/gdb/common/filestuff.c
@@ -56,7 +56,7 @@
#ifndef HAVE_FDWALK
-#include <dirent.h>
+#include "gdb_dirent.h"
/* Replacement for fdwalk, if the system doesn't define it. Walks all
open file descriptors (though this implementation may walk closed