aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_send.c')
-rw-r--r--ares/ares_send.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/ares_send.c b/ares/ares_send.c
index 99f303966..83cea8017 100644
--- a/ares/ares_send.c
+++ b/ares/ares_send.c
@@ -21,6 +21,9 @@
#else
#include <netinet/in.h>
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
#endif
#include <stdlib.h>