diff options
-rw-r--r-- | ares/ares_gethostbyname.c | 3 | ||||
-rw-r--r-- | ares/ares_parse_a_reply.c | 3 | ||||
-rw-r--r-- | ares/ares_parse_aaaa_reply.c | 3 | ||||
-rw-r--r-- | ares/ares_parse_ptr_reply.c | 3 | ||||
-rw-r--r-- | ares/ares_process.c | 3 | ||||
-rw-r--r-- | ares/configure.ac | 1 |
6 files changed, 16 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" diff --git a/ares/ares_parse_a_reply.c b/ares/ares_parse_a_reply.c index 34f2d67e0..42c4ff7f2 100644 --- a/ares/ares_parse_a_reply.c +++ b/ares/ares_parse_a_reply.c @@ -29,6 +29,9 @@ #include <arpa/nameser_compat.h> #endif #endif +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #include <stdlib.h> #include <string.h> diff --git a/ares/ares_parse_aaaa_reply.c b/ares/ares_parse_aaaa_reply.c index 95e0c3053..30706328b 100644 --- a/ares/ares_parse_aaaa_reply.c +++ b/ares/ares_parse_aaaa_reply.c @@ -31,6 +31,9 @@ #include <arpa/nameser_compat.h> #endif #endif +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #include <stdlib.h> #include <string.h> diff --git a/ares/ares_parse_ptr_reply.c b/ares/ares_parse_ptr_reply.c index 7025158fb..070bce865 100644 --- a/ares/ares_parse_ptr_reply.c +++ b/ares/ares_parse_ptr_reply.c @@ -28,6 +28,9 @@ #include <arpa/nameser_compat.h> #endif #endif +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #include <stdlib.h> #include <string.h> diff --git a/ares/ares_process.c b/ares/ares_process.c index d977d0937..442e3280c 100644 --- a/ares/ares_process.c +++ b/ares/ares_process.c @@ -44,6 +44,9 @@ #endif #endif /* WIN32 && !WATT32 */ +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif diff --git a/ares/configure.ac b/ares/configure.ac index f3b80cfd1..203f8093a 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -383,6 +383,7 @@ AC_CHECK_HEADERS( netinet/tcp.h \ net/if.h \ errno.h \ + strings.h \ stdbool.h \ arpa/nameser.h \ arpa/nameser_compat.h \ |