From da8c9663995deb7abe63ca45251fc0264e031550 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 16 Jan 2023 04:42:47 -0500 Subject: 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. --- sim/cris/traps.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sim/cris') 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 . */ #ifdef HAVE_SYS_PARAM_H #include #endif -#ifdef HAVE_SYS_STAT_H #include -#endif /* For PATH_MAX, originally. */ #ifdef HAVE_LIMITS_H #include -- cgit v1.1