filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>
authorJoel Brobecker <brobecker@gnat.com>
Tue, 30 Apr 2013 08:20:47 +0000 (08:20 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 30 Apr 2013 08:20:47 +0000 (08:20 +0000)
gdb/ChangeLog:

        * common/filestuff.c: Replace #include <dirent.h> by
        #include "gdb_dirent.h".

gdb/ChangeLog
gdb/common/filestuff.c

index 402971b..dc37b96 100644 (file)
@@ -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".
 
index 0271ea8..68f66ca 100644 (file)
@@ -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