summaryrefslogtreecommitdiffstats
path: root/binutils-2.22/opcodes/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.22/opcodes/sysdep.h')
-rw-r--r--binutils-2.22/opcodes/sysdep.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/binutils-2.22/opcodes/sysdep.h b/binutils-2.22/opcodes/sysdep.h
index 2ca3935..b09d19e 100644
--- a/binutils-2.22/opcodes/sysdep.h
+++ b/binutils-2.22/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.
@@ -27,6 +27,10 @@
trying to replace often did that. If it can be dropped from this
file (check in a non-ANSI environment!), it should be. */
+#ifdef PACKAGE
+#error sysdep.h must be included in lieu of config.h
+#endif
+
#include "config.h"
#include "ansidecl.h"
@@ -35,6 +39,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 +50,7 @@
#include <strings.h>
#endif
#endif
+#endif
#if !HAVE_DECL_STPCPY
extern char *stpcpy (char *__dest, const char *__src);