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 b2798bfe21a2376e13799166988385c771837572..d3d1b67cde0ed4bd912d330f99a6e6226c4f89d8 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 133a5d35190b9d8c02134c51e5dad70eea406dd5..03ea1d1dba4a2b6fb31a79686a91ae01f022fab5 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 */