From: Paolo Bonzini Date: Thu, 3 Dec 2009 17:39:47 +0000 (+0100) Subject: exclude: Fix header file problems. X-Git-Tag: v0.1~5107 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=c5588be343f580be8e87d99e043dcdf3d7606759;p=gnulib.git exclude: Fix header file problems. * lib/exclude.h: Add multiple inclusion guards and include stdbool.h. --- diff --git a/ChangeLog b/ChangeLog index 6eec830ec..da260c1da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-03 Paolo Bonzini + + exclude: Fix header file problems. + * lib/exclude.h: Add multiple inclusion guards and include stdbool.h. + 2009-12-01 Jim Meyering fts: fts_open: do not let an empty string cause immediate failure diff --git a/lib/exclude.h b/lib/exclude.h index e0735e159..fa5b12087 100644 --- a/lib/exclude.h +++ b/lib/exclude.h @@ -16,6 +16,11 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef _GL_EXCLUDE_H +#define _GL_EXCLUDE_H 1 + +#include + /* Written by Paul Eggert and Sergey Poznyakoff */ @@ -43,3 +48,5 @@ int add_exclude_file (void (*) (struct exclude *, char const *, int), struct exclude *, char const *, int, char); bool excluded_file_name (struct exclude const *, char const *); bool exclude_fnmatch (char const *pattern, char const *f, int options); + +#endif /* _GL_EXCLUDE_H */