aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-04-30 08:20:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-04-30 08:20:04 +0000
commit366c6766d83358d8bdf050fba3cf60912cc1a243 (patch)
treef028ea0921f66c89f2965949a31ee77e8bde8583 /gdb
parentb82970680130d28392656daf79dfa1b94aa553e0 (diff)
downloadgdb-366c6766d83358d8bdf050fba3cf60912cc1a243.zip
gdb-366c6766d83358d8bdf050fba3cf60912cc1a243.tar.gz
gdb-366c6766d83358d8bdf050fba3cf60912cc1a243.tar.bz2
filestuff.c: Use gdb_stat.h instead of <sys/stat.h>
gdb/ChangeLog: * common/filestuff.c: Replace #include <sys/stat.h> by #include "gdb_stat.h".
Diffstat (limited to 'gdb')
-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 dc52c98..402971b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-29 Joel Brobecker <brobecker@adacore.com>
+
+ * common/filestuff.c: Replace #include <sys/stat.h> by
+ #include "gdb_stat.h".
+
2013-04-29 Pierre Muller <muller@sourceware.org>
* dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
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>