aboutsummaryrefslogtreecommitdiff
path: root/lib/strequal.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strequal.c')
-rw-r--r--lib/strequal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strequal.c b/lib/strequal.c
index f993e382a..34f95fd90 100644
--- a/lib/strequal.c
+++ b/lib/strequal.c
@@ -28,7 +28,7 @@
#include "strequal.h"
-#ifdef HAVE_STRCASECMP
+#if defined(HAVE_STRCASECMP) && defined(__STRICT_ANSI__)
/* this is for "-ansi -Wall -pedantic" to stop complaining! */
extern int (strcasecmp)(const char *s1, const char *s2);
extern int (strncasecmp)(const char *s1, const char *s2, size_t n);