about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--posix/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex.c b/posix/regex.c
index f8544aebf0..6f89d96a3f 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -80,7 +80,7 @@ char *realloc ();
    This is used in most programs--a few other programs avoid this
    by defining INHIBIT_STRING_HEADER.  */
 #ifndef INHIBIT_STRING_HEADER
-#if HAVE_STRING_H || STDC_HEADERS || defined (_LIBC)
+#if defined (HAVE_STRING_H) || defined (STDC_HEADERS) || defined (_LIBC)
 #include <string.h>
 #ifndef bcmp
 #define bcmp(s1, s2, n)	memcmp ((s1), (s2), (n))