summaryrefslogtreecommitdiff
path: root/ares_gethostbyname.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-05-08 22:11:38 (GMT)
committerDaniel Stenberg <daniel@haxx.se>2008-05-08 22:11:38 (GMT)
commit7829b79768124eb6d3628267f71780121f245265 (patch)
treeb16788ad1e3ac3dd1a000eef123f054f7193f592 /ares_gethostbyname.c
parent7a68a3342bed9d33139e657005a17e0bde5b3bd4 (diff)
downloadc-ares-7829b79768124eb6d3628267f71780121f245265.zip
c-ares-7829b79768124eb6d3628267f71780121f245265.tar.gz
c-ares-7829b79768124eb6d3628267f71780121f245265.tar.bz2
check for strings.h in configure and use it for the strcasecmp() proto
Diffstat (limited to 'ares_gethostbyname.c')
-rw-r--r--ares_gethostbyname.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c
index 33093aa..d737b41 100644
--- a/ares_gethostbyname.c
+++ b/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"