summaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2005-05-05 18:51:14 +0000
committerJim Wilson <wilson@tuliptree.org>2005-05-05 18:51:14 +0000
commit7420233fe12e390165a887a83666705167c2e8bf (patch)
tree48db07e8d6e8f8594c49d5cbffbfeeda469b3560 /bfd/sysdep.h
parent1ebb8023eff7a0e00e99e1a2dee2aa410e15bd2a (diff)
downloadbinutils-redhat-7420233fe12e390165a887a83666705167c2e8bf.tar.gz
Fix ia64-hpux build failure, patch from Steve Ellcey.
* configure.in (ACX_HEADER_STRING): New. * configure: Regenerate. * config.in: Regenerate. * sysdep.h (STRING_WITH_STRINGS): Use.
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 a9ea6b41c9..f6313d3905 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>