This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA/commit(ARI) 1/2] filestuff.c: Use gdb_stat.h instead of <sys/stat.h>
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 29 Apr 2013 10:29:28 +0400
- Subject: [RFA/commit(ARI) 1/2] filestuff.c: Use gdb_stat.h instead of <sys/stat.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 <sys/stat.h> by
#include "gdb_stat.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 2984c43..0271ea8 100644
--- a/gdb/common/filestuff.c
+++ b/gdb/common/filestuff.c
@@ -29,7 +29,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
-#include <sys/stat.h>
+#include "gdb_stat.h"
#ifdef USE_WIN32API
#include <winsock2.h>
--
1.7.10.4