From: Daniel Stenberg Date: Wed, 6 Apr 2005 22:27:42 +0000 (+0000) Subject: Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS X-Git-Tag: curl-7_14_0~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=993600761f62f8a4e32868df7ab51e2d84898e10;p=thirdparty%2Fcurl.git Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS X. --- diff --git a/ares/CHANGES b/ares/CHANGES index 1cc64ff636..a2207cb4b4 100644 --- a/ares/CHANGES +++ b/ares/CHANGES @@ -1,5 +1,9 @@ Changelog for the c-ares project +* April 7 +- Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac + OS X. + * April 5 - Dominick Meglio: Provided implementations of inet_net_pton and inet_pton diff --git a/ares/ares_expand_name.c b/ares/ares_expand_name.c index 0942bfa982..114d0c5074 100644 --- a/ares/ares_expand_name.c +++ b/ares/ares_expand_name.c @@ -21,6 +21,9 @@ #else #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares/ares_gethostbyaddr.c b/ares/ares_gethostbyaddr.c index 265b89d240..09e0dd39b2 100644 --- a/ares/ares_gethostbyaddr.c +++ b/ares/ares_gethostbyaddr.c @@ -23,6 +23,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares/ares_gethostbyname.c b/ares/ares_gethostbyname.c index fddfda7d66..8d77fdefee 100644 --- a/ares/ares_gethostbyname.c +++ b/ares/ares_gethostbyname.c @@ -24,6 +24,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares/ares_init.c b/ares/ares_init.c index f1e329e129..c9d1cd2189 100644 --- a/ares/ares_init.c +++ b/ares/ares_init.c @@ -31,6 +31,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #ifdef HAVE_UNISTD_H #include #endif diff --git a/ares/ares_mkquery.c b/ares/ares_mkquery.c index fd9c369fb6..d5c40cb74a 100644 --- a/ares/ares_mkquery.c +++ b/ares/ares_mkquery.c @@ -21,6 +21,9 @@ #else #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares/ares_parse_a_reply.c b/ares/ares_parse_a_reply.c index 296168765f..8f69bf0e67 100644 --- a/ares/ares_parse_a_reply.c +++ b/ares/ares_parse_a_reply.c @@ -24,6 +24,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares/ares_parse_ptr_reply.c b/ares/ares_parse_ptr_reply.c index 20df4114b2..2bac907db6 100644 --- a/ares/ares_parse_ptr_reply.c +++ b/ares/ares_parse_ptr_reply.c @@ -23,6 +23,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares/ares_process.c b/ares/ares_process.c index 0190f785eb..15d3726421 100644 --- a/ares/ares_process.c +++ b/ares/ares_process.c @@ -27,6 +27,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #ifdef HAVE_UNISTD_H #include #endif diff --git a/ares/ares_query.c b/ares/ares_query.c index b39dc6d5c8..47c0670eb8 100644 --- a/ares/ares_query.c +++ b/ares/ares_query.c @@ -21,6 +21,9 @@ #else #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares/ares_send.c b/ares/ares_send.c index 99f303966a..83cea80176 100644 --- a/ares/ares_send.c +++ b/ares/ares_send.c @@ -21,6 +21,9 @@ #else #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include