[patch] Build failure on m68k
Paul Brook
paul@codesourcery.com
Thu Nov 17 18:09:00 GMT 2005
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_
More information about the Libc-alpha
mailing list