aboutsummaryrefslogtreecommitdiff
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
commit2e0fbf779582c50ee14125fe8c50738d5ca7041d (patch)
treea0502073915110d83ba5d3dd30286eb8510a5cb0 /bfd/sysdep.h
parent5faa8e3921b9ab6c7cd50930baad1e8665fc8203 (diff)
downloadgdb-2e0fbf779582c50ee14125fe8c50738d5ca7041d.zip
gdb-2e0fbf779582c50ee14125fe8c50738d5ca7041d.tar.gz
gdb-2e0fbf779582c50ee14125fe8c50738d5ca7041d.tar.bz2
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 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>