aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sysdep.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-04-05 15:28:04 +0930
committerAlan Modra <amodra@gmail.com>2021-04-05 15:28:04 +0930
commitab2af25e83abb7da1619e8ae678b9286d5448d67 (patch)
tree16b2cfb6936dc8edc5f392a86840fef95ab848c9 /opcodes/sysdep.h
parent83c79df86bf40666d1da7cd884bc10d45773df91 (diff)
downloadfsf-binutils-gdb-ab2af25e83abb7da1619e8ae678b9286d5448d67.zip
fsf-binutils-gdb-ab2af25e83abb7da1619e8ae678b9286d5448d67.tar.gz
fsf-binutils-gdb-ab2af25e83abb7da1619e8ae678b9286d5448d67.tar.bz2
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.
Diffstat (limited to 'opcodes/sysdep.h')
-rw-r--r--opcodes/sysdep.h18
1 files changed, 1 insertions, 17 deletions
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 <stdlib.h>
-#endif
-
-#ifdef STRING_WITH_STRINGS
-#include <string.h>
-#include <strings.h>
-#else
-#ifdef HAVE_STRING_H
#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
-#endif
+#include "ansidecl.h"
#if !HAVE_DECL_STPCPY
extern char *stpcpy (char *__dest, const char *__src);