changeset 12380:b811ff63c8e8

exclude: Fix header file problems. * lib/exclude.h: Add multiple inclusion guards and include stdbool.h.
author Paolo Bonzini <bonzini@gnu.org>
date Thu, 03 Dec 2009 18:39:47 +0100
parents a26918b40a9a
children e63e3a5265e5
files ChangeLog lib/exclude.h
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 <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 @@
 		      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 */