aboutsummaryrefslogtreecommitdiff
path: root/ares/adig.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-30 15:26:42 +0000
committerYang Tse <yangsita@gmail.com>2008-05-30 15:26:42 +0000
commite5f0c38fa9a9bd2aacbf9532039c602f813e2ced (patch)
tree9854df0cdd77f31b96bbb387cc280f51338a0aa0 /ares/adig.c
parent47925f3dd78a1cb46c6245d16af906c929cd4a84 (diff)
Brad House fixed a missing header file inclusion in adig sample program
Diffstat (limited to 'ares/adig.c')
-rw-r--r--ares/adig.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/adig.c b/ares/adig.c
index 59325fe6c..707fc8094 100644
--- a/ares/adig.c
+++ b/ares/adig.c
@@ -27,6 +27,9 @@
#include <netinet/in.h>
#include <arpa/inet.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