aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-16 04:42:47 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-16 04:42:47 -0500
commitda8c9663995deb7abe63ca45251fc0264e031550 (patch)
treed7aa188bcb71826f138fcd5357336a6581afee70 /sim/h8300
parent4cd7de783bc72cc1f44fe989e7a0c7feb10532d5 (diff)
downloadgdb-da8c9663995deb7abe63ca45251fc0264e031550.zip
gdb-da8c9663995deb7abe63ca45251fc0264e031550.tar.gz
gdb-da8c9663995deb7abe63ca45251fc0264e031550.tar.bz2
sim: assume sys/stat.h always exists (via gnulib)
We have many uses of sys/stat.h that are unprotected by HAVE_SYS_STAT_H, so this is more formalizing the reality that we require this header. Since we switched to gnulib, it guarantees that a sys/stat.h exists for us to include, so we're doubly OK.
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 467eeaf..1e303a9 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -26,11 +26,11 @@
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
+#include <sys/stat.h>
#include "bfd.h"
#include "sim-main.h"
#include "sim/sim-h8300.h"
-#include "sys/stat.h"
#include "sys/types.h"
#include "sim-options.h"
#include "sim-signal.h"