[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warning fix
From: |
Alan Modra |
Subject: |
Re: warning fix |
Date: |
Sat, 20 Jul 2002 23:40:00 +0930 |
User-agent: |
Mutt/1.3.25i |
On Sat, Jul 20, 2002 at 11:29:37PM +0930, Alan Modra wrote:
> binutils/ChangeLog
> * budemang.c: Include string.h.
No, I'm not being carefull enough
* budemang.c: Include config.h and string.h/strings.h.
Index: budemang.c
===================================================================
RCS file: /cvs/src/src/binutils/budemang.c,v
retrieving revision 1.2
diff -u -p -r1.2 budemang.c
--- budemang.c 20 Jul 2002 14:00:47 -0000 1.2
+++ budemang.c 20 Jul 2002 14:08:25 -0000
@@ -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"
--
Alan Modra
IBM OzLabs - Linux Technology Centre
- warning fix, Alan Modra, 2002/07/20
- Re: warning fix,
Alan Modra <=