aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-07-23 05:12:26 +0000
committerAlan Modra <amodra@gmail.com>2002-07-23 05:12:26 +0000
commit63eb08093375052a60f37b2808db1ef8aea0f558 (patch)
treefd07fe4ff8f953b69aa29afb7f792a697de53005 /binutils
parentfad2542d0f071d62cbd40b1db2bff32147c87728 (diff)
downloadgdb-63eb08093375052a60f37b2808db1ef8aea0f558.zip
gdb-63eb08093375052a60f37b2808db1ef8aea0f558.tar.gz
gdb-63eb08093375052a60f37b2808db1ef8aea0f558.tar.bz2
* budemang.c: Include config.h and string.h/strings.h.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog2
-rw-r--r--binutils/budemang.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 22deb6f..b81575b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,6 +1,6 @@
2002-07-20 Alan Modra <amodra@bigpond.net.au>
- * budemang.c: Include string.h.
+ * budemang.c: Include config.h and string.h/strings.h.
2002-07-18 Denis Chertykov <denisc@overta.ru>
Frank Ch. Eigler <fche@redhat.com>
diff --git a/binutils/budemang.c b/binutils/budemang.c
index f80e196..3f8d385 100644
--- a/binutils/budemang.c
+++ b/binutils/budemang.c
@@ -18,8 +18,15 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+#include "config.h"
#include <stdlib.h>
+#ifdef HAVE_STRING_H
#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
#include "bfd.h"
#include "libiberty.h"
#include "demangle.h"