summaryrefslogtreecommitdiff
path: root/ares_gethostbyaddr.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-06 22:27:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-06 22:27:42 +0000
commitb41effd113629c67a6b88255a2a0413a7f41c7dd (patch)
tree48527049b6ba9e0b5da3c7f8b75f84d2b9fa5cdf /ares_gethostbyaddr.c
parent3a80a3eb01b9d8e34ce582c50395f82a1e5e109f (diff)
downloadc-ares-b41effd113629c67a6b88255a2a0413a7f41c7dd.tar.gz
c-ares-b41effd113629c67a6b88255a2a0413a7f41c7dd.tar.bz2
c-ares-b41effd113629c67a6b88255a2a0413a7f41c7dd.zip
Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS
X.
Diffstat (limited to 'ares_gethostbyaddr.c')
-rw-r--r--ares_gethostbyaddr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c
index 265b89d..09e0dd3 100644
--- a/ares_gethostbyaddr.c
+++ b/ares_gethostbyaddr.c
@@ -23,6 +23,9 @@
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
#endif
#include <stdio.h>