aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-05-08 22:14:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-05-08 22:14:17 +0000
commitcf4570a06fb8103560d967af2fc93d3193fcbc04 (patch)
treeea9e25bba2855d834b7b1fd57ed4cd90e481a1ad /ares
parent6df5dddd9032eda9e255b36bebc3a09134f0a846 (diff)
include strings.h (if available) for the strcasecmp() proto
Diffstat (limited to 'ares')
-rw-r--r--ares/acountry.c3
-rw-r--r--ares/adig.c3
-rw-r--r--ares/ahost.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/ares/acountry.c b/ares/acountry.c
index e7029c8a3..14efa0729 100644
--- a/ares/acountry.c
+++ b/ares/acountry.c
@@ -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/ares/adig.c b/ares/adig.c
index f7f601ce6..59325fe6c 100644
--- a/ares/adig.c
+++ b/ares/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/ares/ahost.c b/ares/ahost.c
index 974f94d68..a5f8fb5af 100644
--- a/ares/ahost.c
+++ b/ares/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>