This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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] Fix libc_fatal.c


Hi,

current glibc CVS does not compile for me, bool, true and false are
undefined. Here is a fix:


2004-11-15  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/unix/sysv/linux/libc_fatal.c: Include stdbool.h

--- sysdeps/unix/sysv/linux/libc_fatal.c	13 Nov 2004 04:56:24 -0000	1.5
+++ sysdeps/unix/sysv/linux/libc_fatal.c	15 Nov 2004 13:14:56 -0000
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <sysdep.h>
 #include <unistd.h>
+#include <stdbool.h>
 #include <sys/syslog.h>
 #ifndef ABORT_INSTRUCTION
 /* No such instruction is available.  */

-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk@suse.de
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B


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