aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-04-30 08:20:47 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-04-30 08:20:47 +0000
commit01da98f9f4aa3a2a19e462ef2fa29b3e30ecbf56 (patch)
treee9c416b6413afae55a58701c99ca796980662bf7
parent366c6766d83358d8bdf050fba3cf60912cc1a243 (diff)
downloadgdb-01da98f9f4aa3a2a19e462ef2fa29b3e30ecbf56.zip
gdb-01da98f9f4aa3a2a19e462ef2fa29b3e30ecbf56.tar.gz
gdb-01da98f9f4aa3a2a19e462ef2fa29b3e30ecbf56.tar.bz2
filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>
gdb/ChangeLog: * common/filestuff.c: Replace #include <dirent.h> by #include "gdb_dirent.h".
-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