Add double-inclusion guard.
authorBruno Haible <bruno@clisp.org>
Sat, 1 Sep 2007 16:24:55 +0000 (16:24 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 1 Sep 2007 16:24:55 +0000 (16:24 +0000)
ChangeLog
lib/streq.h

index b2798bf..d3d1b67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * modules/linebreak (Depends-on): Add streq, uniwidth/width.
        * NEWS: Document the change.
 
+2007-09-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/streq.h: Add double-inclusion guard.
+
 2007-08-28  Jim Meyering  <jim@meyering.net>
 
        Rename mreadlink_with_size to areadlink_with_size.
index 133a5d3..03ea1d1 100644 (file)
@@ -18,6 +18,9 @@
 
 /* Written by Bruno Haible <bruno@clisp.org>.  */
 
+#ifndef _GL_STREQ_H
+#define _GL_STREQ_H
+
 #include <string.h>
 
 /* STREQ allows to optimize string comparison with a small literal string.
@@ -171,3 +174,5 @@ streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23,
   (strcmp (s1, s2) == 0)
 
 #endif
+
+#endif /* _GL_STREQ_H */