This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
[RFA] ARI fix: Replace sys/stat.h by gdb_stat.h
- From: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: <insight at sourceware dot org>
- Date: Tue, 7 Apr 2009 01:25:59 +0200
- Subject: [RFA] ARI fix: Replace sys/stat.h by gdb_stat.h
Can I apply that also?
2009-04-07 Pierre Muller <muller.u-strasbg.fr²>
ARI fix: Use "gdb_stat.h" header instead of <sys/stat.h>.
* generic/gdbtk-cmds.c: Apply change.
* generic/gdbtk.c: Ditto.
Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.108
diff -u -p -r1.108 gdbtk-cmds.c
--- generic/gdbtk-cmds.c 6 Apr 2009 23:11:10 -0000 1.108
+++ generic/gdbtk-cmds.c 6 Apr 2009 23:19:44 -0000
@@ -63,7 +63,7 @@
#include <sys/ioctl.h>
#endif
#include <sys/time.h>
-#include <sys/stat.h>
+#include "gdb_stat.h"
#include "gdb_string.h"
#include "dis-asm.h"
Index: generic/gdbtk.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk.c,v
retrieving revision 1.49
diff -u -p -r1.49 gdbtk.c
--- generic/gdbtk.c 6 Apr 2009 23:11:10 -0000 1.49
+++ generic/gdbtk.c 6 Apr 2009 23:19:44 -0000
@@ -48,7 +48,7 @@
#include "gdbtk.h"
#include <fcntl.h>
-#include <sys/stat.h>
+#include "gdb_stat.h"
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif