This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA/commit(ARI) 2/2] filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 29 Apr 2013 10:29:29 +0400
- Subject: [RFA/commit(ARI) 2/2] filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>
- References: <20130423015140 dot GA30552 at sourceware dot org> <1367216969-28892-1-git-send-email-brobecker at adacore dot com>
gdb/ChangeLog:
* common/filestuff.c: Replace #include <dirent.h> by
#include "gdb_dirent.h".
---
gdb/common/filestuff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
1.7.10.4