include strings.h (if available) for the strcasecmp() proto
authorDaniel Stenberg <daniel@haxx.se>
Thu, 8 May 2008 22:14:17 +0000 (22:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 May 2008 22:14:17 +0000 (22:14 +0000)
acountry.c
adig.c
ahost.c

index e7029c8..14efa07 100644 (file)
@@ -43,6 +43,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 #if defined(WIN32)
   #include <winsock.h>
diff --git a/adig.c b/adig.c
index f7f601c..59325fe 100644 (file)
--- a/adig.c
+++ b/adig.c
@@ -32,6 +32,9 @@
 #endif
 #include <netdb.h>
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/ahost.c b/ahost.c
index 974f94d..a5f8fb5 100644 (file)
--- a/ahost.c
+++ b/ahost.c
@@ -29,6 +29,9 @@
 #include <unistd.h>
 #endif
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>