changeset 9172:fe9324e088ed

Add double-inclusion guard.
author Bruno Haible <bruno@clisp.org>
date Sat, 01 Sep 2007 16:24:55 +0000
parents 87d1523f0988
children 6d92d3b331ed
files ChangeLog lib/streq.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,10 @@
 	* 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.
--- a/lib/streq.h
+++ b/lib/streq.h
@@ -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 @@
   (strcmp (s1, s2) == 0)
 
 #endif
+
+#endif /* _GL_STREQ_H */