From 443311a87c56537a956414bc95e67ccab9cde772 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 1 Sep 2007 16:24:55 +0000 Subject: [PATCH] Add double-inclusion guard. --- ChangeLog | 4 ++++ lib/streq.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index b2798bfe21..d3d1b67cde 100644 --- 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 + + * lib/streq.h: Add double-inclusion guard. + 2007-08-28 Jim Meyering Rename mreadlink_with_size to areadlink_with_size. diff --git a/lib/streq.h b/lib/streq.h index 133a5d3519..03ea1d1dba 100644 --- a/lib/streq.h +++ b/lib/streq.h @@ -18,6 +18,9 @@ /* Written by Bruno Haible . */ +#ifndef _GL_STREQ_H +#define _GL_STREQ_H + #include /* 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 */ -- 2.30.2