From b41effd113629c67a6b88255a2a0413a7f41c7dd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 6 Apr 2005 22:27:42 +0000 Subject: [PATCH] Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS X. --- CHANGES | 4 ++++ ares_expand_name.c | 3 +++ ares_gethostbyaddr.c | 3 +++ ares_gethostbyname.c | 3 +++ ares_init.c | 3 +++ ares_mkquery.c | 3 +++ ares_parse_a_reply.c | 3 +++ ares_parse_ptr_reply.c | 3 +++ ares_process.c | 3 +++ ares_query.c | 3 +++ ares_send.c | 3 +++ 11 files changed, 34 insertions(+) diff --git a/CHANGES b/CHANGES index 1cc64ff6..a2207cb4 100644 --- a/CHANGES +++ b/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_expand_name.c b/ares_expand_name.c index 0942bfa9..114d0c50 100644 --- a/ares_expand_name.c +++ b/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_gethostbyaddr.c b/ares_gethostbyaddr.c index 265b89d2..09e0dd39 100644 --- a/ares_gethostbyaddr.c +++ b/ares_gethostbyaddr.c @@ -23,6 +23,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c index fddfda7d..8d77fdef 100644 --- a/ares_gethostbyname.c +++ b/ares_gethostbyname.c @@ -24,6 +24,9 @@ #include #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares_init.c b/ares_init.c index f1e329e1..c9d1cd21 100644 --- a/ares_init.c +++ b/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_mkquery.c b/ares_mkquery.c index fd9c369f..d5c40cb7 100644 --- a/ares_mkquery.c +++ b/ares_mkquery.c @@ -21,6 +21,9 @@ #else #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares_parse_a_reply.c b/ares_parse_a_reply.c index 29616876..8f69bf0e 100644 --- a/ares_parse_a_reply.c +++ b/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_parse_ptr_reply.c b/ares_parse_ptr_reply.c index 20df4114..2bac907d 100644 --- a/ares_parse_ptr_reply.c +++ b/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_process.c b/ares_process.c index 0190f785..15d37264 100644 --- a/ares_process.c +++ b/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_query.c b/ares_query.c index b39dc6d5..47c0670e 100644 --- a/ares_query.c +++ b/ares_query.c @@ -21,6 +21,9 @@ #else #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include diff --git a/ares_send.c b/ares_send.c index 99f30396..83cea801 100644 --- a/ares_send.c +++ b/ares_send.c @@ -21,6 +21,9 @@ #else #include #include +#ifdef HAVE_ARPA_NAMESER_COMPAT_H +#include +#endif #endif #include