aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_gethostbyname.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-05-08 22:11:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-05-08 22:11:38 +0000
commit6df5dddd9032eda9e255b36bebc3a09134f0a846 (patch)
tree5600f434b1cd3a595527f8edb0aac13cc86d24ac /ares/ares_gethostbyname.c
parentd4e9b141dbada253455fd0a13ce27bfb81969e4d (diff)
check for strings.h in configure and use it for the strcasecmp() proto
Diffstat (limited to 'ares/ares_gethostbyname.c')
-rw-r--r--ares/ares_gethostbyname.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/ares_gethostbyname.c b/ares/ares_gethostbyname.c
index 33093aaf0..d737b41f2 100644
--- a/ares/ares_gethostbyname.c
+++ b/ares/ares_gethostbyname.c
@@ -36,6 +36,9 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
#include "ares.h"
#include "ares_private.h"