aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_expand_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_expand_name.c')
-rw-r--r--ares/ares_expand_name.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/ares_expand_name.c b/ares/ares_expand_name.c
index 0942bfa98..114d0c507 100644
--- a/ares/ares_expand_name.c
+++ b/ares/ares_expand_name.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>