This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/RFA] coffcode.h needs to include libiberty.h


The following patch is needed to prevent compiler warnings during the
DJGPP build of GDB.  DJGPP does not have snprintf in its library and
headers, and uses the libiberty version, so the compiler complains
about its implicit declaration.

If this patch is okay, please somebody commit it, as I don't have
write access to the BFD repository.

Thanks.

2009-09-05  Eli Zaretskii  <eliz@gnu.org>

	* coffcode.h: Include libiberty.h.

--- bfd/coffcode.h~0	2009-08-11 00:56:42.000000000 +0300
+++ bfd/coffcode.h	2009-09-05 16:41:25.953125000 +0300
@@ -361,6 +361,8 @@
 
 */
 
+#include "libiberty.h"
+
 #ifdef COFF_WITH_PE
 #include "peicode.h"
 #else


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]