From cf4570a06fb8103560d967af2fc93d3193fcbc04 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 8 May 2008 22:14:17 +0000 Subject: [PATCH] include strings.h (if available) for the strcasecmp() proto --- ares/acountry.c | 3 +++ ares/adig.c | 3 +++ ares/ahost.c | 3 +++ 3 files changed, 9 insertions(+) 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 #endif +#ifdef HAVE_STRINGS_H +#include +#endif #if defined(WIN32) #include 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 #endif +#ifdef HAVE_STRINGS_H +#include +#endif #include #include 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 #endif #endif +#ifdef HAVE_STRINGS_H +#include +#endif #include #include