]> granicus.if.org Git - curl/commitdiff
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)
ares/acountry.c
ares/adig.c
ares/ahost.c

index e7029c8a34e472f7553a2afc6bea814d169ed63c..14efa07299c485f2cadf9b0ab491d93ce1bf1a12 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>
index f7f601ce653009d608cfcb281558f5b136e1d2ef..59325fe6c498d9ac3d179eb405604ab181382065 100644 (file)
@@ -32,6 +32,9 @@
 #endif
 #include <netdb.h>
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
index 974f94d68425fe5a904f20b230a499cfa45b3a20..a5f8fb5af71000c174b2f410b7a179ffa70fe476 100644 (file)
@@ -29,6 +29,9 @@
 #include <unistd.h>
 #endif
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>