From fc38bafde739caf7d6b7aa49ba6074c0a6f51a09 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 12 Apr 2008 01:07:35 +0200 Subject: [PATCH] Include stdbool, for 'true' and 'false'. --- ChangeLog | 5 +++++ lib/glob.c | 4 +++- modules/glob | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0dbca3640..a7fb68325 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-04-11 Bruno Haible + * lib/glob.c: Include . Needed at least with IRIX cc. + * modules/glob (Depends-on): Add stdbool. + +2008-04-11 Bruno Haible + * lib/trim.c: Include . 2008-04-11 Eric Blake diff --git a/lib/glob.c b/lib/glob.c index 0229dbdb7..24aec87f9 100644 --- a/lib/glob.c +++ b/lib/glob.c @@ -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 +#include + #include /* Needed on stupid SunOS for assert. */ #if !defined _LIBC || !defined GLOB_ONLY_P diff --git a/modules/glob b/modules/glob index 4086a99e2..f372bd4ec 100644 --- a/modules/glob +++ b/modules/glob @@ -16,6 +16,7 @@ extensions fnmatch getlogin_r mempcpy +stdbool strdup sys_stat unistd -- 2.11.0