From ab2af25e83abb7da1619e8ae678b9286d5448d67 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 5 Apr 2021 15:28:04 +0930 Subject: C99 opcodes configury * configure.ac: Don't check for limits.h, string.h, strings.h or stdlib.h. (AC_ISC_POSIX): Don't invoke. * sysdep.h: Include stdlib.h and string.h unconditionally. * i386-opc.h: Include limits.h unconditionally. * wasm32-dis.c: Likewise. * cgen-opc.c: Don't include alloca-conf.h. * config.in: Regenerate. * configure: Regenerate. --- opcodes/sysdep.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'opcodes/sysdep.h') diff --git a/opcodes/sysdep.h b/opcodes/sysdep.h index 74fbee7..dc4fe44 100644 --- a/opcodes/sysdep.h +++ b/opcodes/sysdep.h @@ -32,25 +32,9 @@ #endif #include "config.h" - -#include "ansidecl.h" - -#ifdef HAVE_STDLIB_H #include -#endif - -#ifdef STRING_WITH_STRINGS -#include -#include -#else -#ifdef HAVE_STRING_H #include -#else -#ifdef HAVE_STRINGS_H -#include -#endif -#endif -#endif +#include "ansidecl.h" #if !HAVE_DECL_STPCPY extern char *stpcpy (char *__dest, const char *__src); -- cgit v1.1