This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Build failure on m68k


Current CVS fails to build for m68k-linux with the following error:

In file included from ../nss/nsswitch.h:27,
                 from ../include/nsswitch.h:1,
                 from initgroups.c:28:
../include/resolv.h:49: error: expected declaration specifiers or '...' before 
'bool'
make[2]: *** [/home/paul/freescale/glibc/obj-linux/grp/initgroups.o] Error 1

Looks like include/resolve.h is using "bool" without first including 
stdbool.h.
Patch below fixes this.

Paul

Index: include/resolv.h
===================================================================
RCS file: /cvs/glibc/libc/include/resolv.h,v
retrieving revision 1.20
diff -u -p -r1.20 resolv.h
--- include/resolv.h    1 Nov 2005 00:01:16 -0000       1.20
+++ include/resolv.h    17 Nov 2005 17:44:54 -0000
@@ -9,6 +9,7 @@
   while (0)

 #include <resolv/resolv.h>
+#include <stdbool.h>

 #ifdef _RESOLV_H_


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