aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_process.c')
-rw-r--r--ares/ares_process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c
index 0190f785e..15d372642 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -27,6 +27,9 @@
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif