aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>