summaryrefslogtreecommitdiff
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
commitd4d2f9dc22295224deab64ef89530a4f1c529277 (patch)
tree0f92e513ebd3699f5ad551fb8e705a472ca3ce1a
parent7829b79768124eb6d3628267f71780121f245265 (diff)
downloadc-ares-d4d2f9dc22295224deab64ef89530a4f1c529277.tar.gz
c-ares-d4d2f9dc22295224deab64ef89530a4f1c529277.tar.bz2
c-ares-d4d2f9dc22295224deab64ef89530a4f1c529277.zip
include strings.h (if available) for the strcasecmp() proto
-rw-r--r--acountry.c3
-rw-r--r--adig.c3
-rw-r--r--ahost.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/acountry.c b/acountry.c
index e7029c8..14efa07 100644
--- a/acountry.c
+++ b/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/adig.c b/adig.c
index f7f601c..59325fe 100644
--- 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
--- 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>