* budemang.c: Include config.h and string.h/strings.h.
authorAlan Modra <amodra@gmail.com>
Tue, 23 Jul 2002 05:12:26 +0000 (05:12 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Jul 2002 05:12:26 +0000 (05:12 +0000)
binutils/ChangeLog
binutils/budemang.c

index 22deb6f1dba096debabe916c07f8dc8159f38c3f..b81575b1b21847b842ab75bebe80eafdbe188902 100644 (file)
@@ -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>
index f80e196c9a02941e9071a64aed56f3d3ff3b7cfa..3f8d385c5e5b0131e3d632754e140cb72c6f9971 100644 (file)
    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"