diff options
author | Alan Modra <amodra@gmail.com> | 2002-07-23 05:12:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-07-23 05:12:26 +0000 |
commit | 63eb08093375052a60f37b2808db1ef8aea0f558 (patch) | |
tree | fd07fe4ff8f953b69aa29afb7f792a697de53005 | |
parent | fad2542d0f071d62cbd40b1db2bff32147c87728 (diff) | |
download | binutils-63eb08093375052a60f37b2808db1ef8aea0f558.tar.gz binutils-63eb08093375052a60f37b2808db1ef8aea0f558.tar.bz2 binutils-63eb08093375052a60f37b2808db1ef8aea0f558.zip |
* budemang.c: Include config.h and string.h/strings.h.
-rw-r--r-- | binutils/ChangeLog | 2 | ||||
-rw-r--r-- | binutils/budemang.c | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 22deb6f1dba..b81575b1b21 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 f80e196c9a0..3f8d385c5e5 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" |