diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-04-30 08:20:46 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-04-30 08:20:46 +0000 |
commit | 842809252f742c8e84195742cfa8f8c8490d19a8 (patch) | |
tree | b83c3c01ef6c22127d43f20da087b21e4d05b9f4 /gdb | |
parent | 157e1b7c1618d417b1d980fd747a64b4dbd637d5 (diff) | |
download | gdb-842809252f742c8e84195742cfa8f8c8490d19a8.tar.gz |
filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>
gdb/ChangeLog:
* common/filestuff.c: Replace #include <dirent.h> by
#include "gdb_dirent.h".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/common/filestuff.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 402971b64fa..dc37b960859 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 0271ea8b5ac..68f66ca6d0f 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 |