aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index a9ea6b4..f6313d3 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -39,6 +39,10 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
extern int errno;
#endif
+#ifdef STRING_WITH_STRINGS
+#include <string.h>
+#include <strings.h>
+#else
#ifdef HAVE_STRING_H
#include <string.h>
#else
@@ -49,6 +53,7 @@ extern char *strchr ();
extern char *strrchr ();
#endif
#endif
+#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>