This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[patch] Build failure on m68k
- From: Paul Brook <paul at codesourcery dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 17 Nov 2005 18:09:04 +0000
- Subject: [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_