summaryrefslogtreecommitdiffstats
path: root/libasyncns/asyncns-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'libasyncns/asyncns-test.c')
-rw-r--r--libasyncns/asyncns-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libasyncns/asyncns-test.c b/libasyncns/asyncns-test.c
index 053b5bd..112cf11 100644
--- a/libasyncns/asyncns-test.c
+++ b/libasyncns/asyncns-test.c
@@ -34,6 +34,10 @@
#include <signal.h>
#include <errno.h>
+#if HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
+
#include "asyncns.h"
int main(int argc, char *argv[]) {