Include stdbool, for 'true' and 'false'.
authorBruno Haible <bruno@clisp.org>
Fri, 11 Apr 2008 23:07:35 +0000 (01:07 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 11 Apr 2008 23:07:35 +0000 (01:07 +0200)
ChangeLog
lib/glob.c
modules/glob

index 0dbca36..a7fb683 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-04-11  Bruno Haible  <bruno@clisp.org>
 
+       * lib/glob.c: Include <stdbool.h>. Needed at least with IRIX cc.
+       * modules/glob (Depends-on): Add stdbool.
+
+2008-04-11  Bruno Haible  <bruno@clisp.org>
+
        * lib/trim.c: Include <string.h>.
 
 2008-04-11  Eric Blake  <ebb9@byu.net>
index 0229dbd..24aec87 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2002, 2003, 2004, 2005, 2006, 2007
+/* Copyright (C) 1991-2002, 2003, 2004, 2005, 2006, 2007, 2008
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -32,6 +32,8 @@
 /* #define NDEBUG 1 */
 #include <assert.h>
 
+#include <stdbool.h>
+
 #include <stdio.h>             /* Needed on stupid SunOS for assert.  */
 
 #if !defined _LIBC || !defined GLOB_ONLY_P
index 4086a99..f372bd4 100644 (file)
@@ -16,6 +16,7 @@ extensions
 fnmatch
 getlogin_r
 mempcpy
+stdbool
 strdup
 sys_stat
 unistd