diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-16 04:42:47 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-16 04:42:47 -0500 |
commit | da8c9663995deb7abe63ca45251fc0264e031550 (patch) | |
tree | d7aa188bcb71826f138fcd5357336a6581afee70 /sim/cris | |
parent | 4cd7de783bc72cc1f44fe989e7a0c7feb10532d5 (diff) | |
download | gdb-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/cris')
-rw-r--r-- | sim/cris/traps.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/cris/traps.c b/sim/cris/traps.c index f5f169f..29b1b7c 100644 --- a/sim/cris/traps.c +++ b/sim/cris/traps.c @@ -39,9 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif -#ifdef HAVE_SYS_STAT_H #include <sys/stat.h> -#endif /* For PATH_MAX, originally. */ #ifdef HAVE_LIMITS_H #include <limits.h> |