]> Savannah Git Hosting - gnulib.git/commitdiff
exclude: Fix header file problems.
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 3 Dec 2009 17:39:47 +0000 (18:39 +0100)
committerPaolo Bonzini <bonzini@gnu.org>
Thu, 3 Dec 2009 17:39:47 +0000 (18:39 +0100)
* lib/exclude.h: Add multiple inclusion guards and include stdbool.h.

ChangeLog
lib/exclude.h

index 6eec830ec368ab78e5b08b8c23c487b05471f7f6..da260c1daff6cc77e4c8e21e7697d06d80afbb86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-03  Paolo Bonzini  <bonzini@gnu.org>
+
+       exclude: Fix header file problems.
+       * lib/exclude.h: Add multiple inclusion guards and include stdbool.h.
+
 2009-12-01  Jim Meyering  <meyering@redhat.com>
 
        fts: fts_open: do not let an empty string cause immediate failure
index e0735e1594d6c82917039cc9870292b88935b8da..fa5b1208753829ae385e1f170241661ea1488a89 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef _GL_EXCLUDE_H
+#define _GL_EXCLUDE_H 1
+
+#include <stdbool.h>
+
 /* Written by Paul Eggert <eggert@twinsun.com>
    and Sergey Poznyakoff <gray@gnu.org> */
 
@@ -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 */