summaryrefslogtreecommitdiff
path: root/opcodes/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/sysdep.h')
-rw-r--r--opcodes/sysdep.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/sysdep.h b/opcodes/sysdep.h
index 2ca39350675..91c53ca9c9f 100644
--- a/opcodes/sysdep.h
+++ b/opcodes/sysdep.h
@@ -1,5 +1,5 @@
/* Random host-dependent support code.
- Copyright 1995, 1997, 2000, 2005, 2007 Free Software Foundation, Inc.
+ Copyright 1995, 1997, 2000, 2005, 2007, 2012 Free Software Foundation, Inc.
Written by Ken Raeburn.
This file is part of the GNU opcodes library.
@@ -35,6 +35,10 @@
#include <stdlib.h>
#endif
+#ifdef STRING_WITH_STRINGS
+#include <string.h>
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#else
@@ -42,6 +46,7 @@
#include <strings.h>
#endif
#endif
+#endif
#if !HAVE_DECL_STPCPY
extern char *stpcpy (char *__dest, const char *__src);