summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--Makefile.am2
-rw-r--r--Makefile.inc2
-rw-r--r--Makefile.vc668
-rw-r--r--acountry.c2
-rw-r--r--adig.c2
-rw-r--r--ahost.c2
-rw-r--r--ares__close_sockets.c2
-rw-r--r--ares__get_hostent.c2
-rw-r--r--ares__read_line.c2
-rw-r--r--ares__timeval.c2
-rw-r--r--ares_cancel.c2
-rw-r--r--ares_destroy.c2
-rw-r--r--ares_expand_name.c2
-rw-r--r--ares_expand_string.c2
-rw-r--r--ares_fds.c2
-rw-r--r--ares_free_hostent.c2
-rw-r--r--ares_free_string.c2
-rw-r--r--ares_gethostbyaddr.c2
-rw-r--r--ares_gethostbyname.c2
-rw-r--r--ares_getnameinfo.c2
-rw-r--r--ares_getsock.c2
-rw-r--r--ares_init.c2
-rw-r--r--ares_library_init.c2
-rw-r--r--ares_library_init.h2
-rw-r--r--ares_llist.c2
-rw-r--r--ares_mkquery.c2
-rw-r--r--ares_parse_a_reply.c2
-rw-r--r--ares_parse_aaaa_reply.c2
-rw-r--r--ares_parse_ns_reply.c2
-rw-r--r--ares_parse_ptr_reply.c2
-rw-r--r--ares_parse_srv_reply.c2
-rw-r--r--ares_parse_txt_reply.c2
-rw-r--r--ares_process.c2
-rw-r--r--ares_query.c2
-rw-r--r--ares_search.c2
-rw-r--r--ares_send.c2
-rw-r--r--ares_setup.h (renamed from setup.h)6
-rw-r--r--ares_strcasecmp.c2
-rw-r--r--ares_strcasecmp.h2
-rw-r--r--ares_strdup.c2
-rw-r--r--ares_strdup.h2
-rw-r--r--ares_strerror.c2
-rw-r--r--ares_timeout.c2
-rw-r--r--ares_version.c2
-rw-r--r--ares_writev.c2
-rw-r--r--ares_writev.h2
-rw-r--r--bitncmp.c2
-rw-r--r--inet_net_pton.c2
-rw-r--r--inet_ntop.c2
-rw-r--r--windows_port.c2
51 files changed, 88 insertions, 85 deletions
diff --git a/CHANGES b/CHANGES
index 198beb8..7987874 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
Changelog for the c-ares project
+* November 2, 2009 (Yang Tse)
+- Renamed c-ares setup.h to ares_setup.h
+
* October 31, 2009 (Yang Tse)
- Symbol hiding configure options are named now --enable-symbol-hiding
and --disable-symbol-hiding in an attempt to make them less ambiguous.
diff --git a/Makefile.am b/Makefile.am
index 9a49258..e8b7020 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,7 @@ ACLOCAL_AMFLAGS = -I m4
# $(top_builddir)/../lib is for libcurl's generated lib/curl_config.h file
# $(top_srcdir)/../lib is for libcurl's lib/setup.h and other "private" files
# $(top_builddir) is for c-ares's generated ares_config.h file
-# $(top_srcdir) is for c-ares's lib/setup.h and other "c-ares-private" files
+# $(top_srcdir) is for c-ares's ares_setup.h and other "c-ares-private" files
if CURLDEBUG
INCLUDES = -I$(top_builddir)/../include \
diff --git a/Makefile.inc b/Makefile.inc
index e383ebb..04ab7a1 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -55,7 +55,7 @@ HHEADERS = ares.h \
inet_net_pton.h \
inet_ntop.h \
nameser.h \
- setup.h \
+ ares_setup.h \
setup_once.h
MANPAGES = ares_cancel.3 \
diff --git a/Makefile.vc6 b/Makefile.vc6
index b0af613..4d68f37 100644
--- a/Makefile.vc6
+++ b/Makefile.vc6
@@ -159,117 +159,117 @@ vclean realclean: clean
#
# Copyright "gcc -MM .."
#
-$(OBJ_DIR)\ares_fds.obj: ares_fds.c setup.h setup_once.h ares.h ares_private.h \
+$(OBJ_DIR)\ares_fds.obj: ares_fds.c ares_setup.h setup_once.h ares.h ares_private.h \
ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_process.obj: ares_process.c setup.h setup_once.h nameser.h \
+$(OBJ_DIR)\ares_process.obj: ares_process.c ares_setup.h setup_once.h nameser.h \
ares.h ares_dns.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_free_hostent.obj: ares_free_hostent.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_free_hostent.obj: ares_free_hostent.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_query.obj: ares_query.c setup.h setup_once.h nameser.h \
+$(OBJ_DIR)\ares_query.obj: ares_query.c ares_setup.h setup_once.h nameser.h \
ares.h ares_dns.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares__close_sockets.obj: ares__close_sockets.c setup.h setup_once.h \
+$(OBJ_DIR)\ares__close_sockets.obj: ares__close_sockets.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_free_string.obj: ares_free_string.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_free_string.obj: ares_free_string.c ares_setup.h setup_once.h \
ares.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_search.obj: ares_search.c setup.h setup_once.h nameser.h \
+$(OBJ_DIR)\ares_search.obj: ares_search.c ares_setup.h setup_once.h nameser.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares__get_hostent.obj: ares__get_hostent.c setup.h setup_once.h \
+$(OBJ_DIR)\ares__get_hostent.obj: ares__get_hostent.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_ipv6.h inet_net_pton.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_gethostbyaddr.obj: ares_gethostbyaddr.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_gethostbyaddr.obj: ares_gethostbyaddr.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h inet_net_pton.h ares_build.h \
ares_rules.h
-$(OBJ_DIR)\ares_send.obj: ares_send.c setup.h setup_once.h nameser.h ares.h \
+$(OBJ_DIR)\ares_send.obj: ares_send.c ares_setup.h setup_once.h nameser.h ares.h \
ares_dns.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares__read_line.obj: ares__read_line.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares__read_line.obj: ares__read_line.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_gethostbyname.obj: ares_gethostbyname.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_gethostbyname.obj: ares_gethostbyname.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h inet_net_pton.h bitncmp.h \
ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_strcasecmp.obj: ares_strcasecmp.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_strcasecmp.obj: ares_strcasecmp.c ares_setup.h setup_once.h ares.h \
ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_strerror.obj: ares_strerror.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_strerror.obj: ares_strerror.c ares_setup.h setup_once.h ares.h \
ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_cancel.obj: ares_cancel.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_cancel.obj: ares_cancel.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_init.obj: ares_init.c setup.h setup_once.h nameser.h ares.h \
+$(OBJ_DIR)\ares_init.obj: ares_init.c ares_setup.h setup_once.h nameser.h ares.h \
ares_private.h ares_ipv6.h inet_net_pton.h ares_build.h ares_rules.h \
ares_library_init.h
-$(OBJ_DIR)\ares_timeout.obj: ares_timeout.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_timeout.obj: ares_timeout.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares__timeval.obj: ares__timeval.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares__timeval.obj: ares__timeval.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_destroy.obj: ares_destroy.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_destroy.obj: ares_destroy.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_mkquery.obj: ares_mkquery.c setup.h setup_once.h nameser.h \
+$(OBJ_DIR)\ares_mkquery.obj: ares_mkquery.c ares_setup.h setup_once.h nameser.h \
ares.h ares_dns.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_version.obj: ares_version.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_version.obj: ares_version.c ares_setup.h setup_once.h ares.h \
ares_version.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_expand_name.obj: ares_expand_name.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_expand_name.obj: ares_expand_name.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_parse_a_reply.obj: ares_parse_a_reply.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_parse_a_reply.obj: ares_parse_a_reply.c ares_setup.h setup_once.h \
nameser.h ares.h ares_dns.h ares_private.h ares_ipv6.h ares_build.h \
ares_rules.h
-$(OBJ_DIR)\windows_port.obj: windows_port.c setup.h setup_once.h nameser.h \
+$(OBJ_DIR)\windows_port.obj: windows_port.c ares_setup.h setup_once.h nameser.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_expand_string.obj: ares_expand_string.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_expand_string.obj: ares_expand_string.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_parse_ptr_reply.obj: ares_parse_ptr_reply.c setup.h \
+$(OBJ_DIR)\ares_parse_ptr_reply.obj: ares_parse_ptr_reply.c ares_setup.h \
setup_once.h nameser.h ares.h ares_dns.h ares_private.h ares_ipv6.h \
ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_parse_aaaa_reply.obj: ares_parse_aaaa_reply.c setup.h \
+$(OBJ_DIR)\ares_parse_aaaa_reply.obj: ares_parse_aaaa_reply.c ares_setup.h \
setup_once.h nameser.h ares.h ares_dns.h inet_net_pton.h ares_private.h \
ares_ipv6.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_parse_ns_reply.obj: ares_parse_ns_reply.c setup.h \
+$(OBJ_DIR)\ares_parse_ns_reply.obj: ares_parse_ns_reply.c ares_setup.h \
setup_once.h nameser.h ares.h ares_dns.h ares_private.h ares_ipv6.h \
ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_getnameinfo.obj: ares_getnameinfo.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_getnameinfo.obj: ares_getnameinfo.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h inet_ntop.h ares_build.h \
ares_rules.h
-$(OBJ_DIR)\inet_net_pton.obj: inet_net_pton.c setup.h setup_once.h nameser.h \
+$(OBJ_DIR)\inet_net_pton.obj: inet_net_pton.c ares_setup.h setup_once.h nameser.h \
ares_ipv6.h inet_net_pton.h ares_build.h ares_rules.h
$(OBJ_DIR)\bitncmp.obj: bitncmp.c bitncmp.h ares_build.h ares_rules.h
-$(OBJ_DIR)\inet_ntop.obj: inet_ntop.c setup.h setup_once.h nameser.h \
+$(OBJ_DIR)\inet_ntop.obj: inet_ntop.c ares_setup.h setup_once.h nameser.h \
ares_ipv6.h inet_ntop.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_getopt.obj: ares_getopt.c ares_getopt.h ares_build.h \
ares_rules.h
-$(OBJ_DIR)\ares_library_init.obj: ares_library_init.c setup.h setup_once.h \
+$(OBJ_DIR)\ares_library_init.obj: ares_library_init.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_library_init.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_llist.obj: ares_llist.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_llist.obj: ares_llist.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_llist.h ares_build.h ares_rules.h
-$(OBJ_DIR)\ares_writev.obj: ares_writev.c setup.h setup_once.h ares.h \
+$(OBJ_DIR)\ares_writev.obj: ares_writev.c ares_setup.h setup_once.h ares.h \
ares_writev.h ares_build.h ares_rules.h
diff --git a/acountry.c b/acountry.c
index 92707f3..e61613c 100644
--- a/acountry.c
+++ b/acountry.c
@@ -33,7 +33,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/adig.c b/adig.c
index 3a5c3da..8488d97 100644
--- a/adig.c
+++ b/adig.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ahost.c b/ahost.c
index 0e6797e..4e29340 100644
--- a/ahost.c
+++ b/ahost.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#if !defined(WIN32) || defined(WATT32)
#ifdef HAVE_SYS_TIME_H
diff --git a/ares__close_sockets.c b/ares__close_sockets.c
index 1becf9a..d2476fd 100644
--- a/ares__close_sockets.c
+++ b/ares__close_sockets.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
diff --git a/ares__get_hostent.c b/ares__get_hostent.c
index 9b1d424..18d3009 100644
--- a/ares__get_hostent.c
+++ b/ares__get_hostent.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares__read_line.c b/ares__read_line.c
index d198b12..561b12e 100644
--- a/ares__read_line.c
+++ b/ares__read_line.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/ares__timeval.c b/ares__timeval.c
index 7437b5a..8cf37e9 100644
--- a/ares__timeval.c
+++ b/ares__timeval.c
@@ -13,7 +13,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include "ares.h"
#include "ares_private.h"
diff --git a/ares_cancel.c b/ares_cancel.c
index 63b1514..a730a65 100644
--- a/ares_cancel.c
+++ b/ares_cancel.c
@@ -13,7 +13,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <assert.h>
#include <stdlib.h>
#include "ares.h"
diff --git a/ares_destroy.c b/ares_destroy.c
index ef5cdb8..2dfb694 100644
--- a/ares_destroy.c
+++ b/ares_destroy.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <assert.h>
#include <stdlib.h>
#include "ares.h"
diff --git a/ares_expand_name.c b/ares_expand_name.c
index a1556e9..5a48b4d 100644
--- a/ares_expand_name.c
+++ b/ares_expand_name.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_expand_string.c b/ares_expand_string.c
index f2d4f74..6ab8a77 100644
--- a/ares_expand_string.c
+++ b/ares_expand_string.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_fds.c b/ares_fds.c
index 4c6299a..bbf5c45 100644
--- a/ares_fds.c
+++ b/ares_fds.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
diff --git a/ares_free_hostent.c b/ares_free_hostent.c
index d766795..623e1e2 100644
--- a/ares_free_hostent.c
+++ b/ares_free_hostent.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <stdlib.h>
#if !defined(WIN32) || defined(WATT32)
diff --git a/ares_free_string.c b/ares_free_string.c
index c5810b2..dc27f5b 100644
--- a/ares_free_string.c
+++ b/ares_free_string.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <stdlib.h>
#include "ares.h"
#include "ares_private.h"
diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c
index 63abc85..cafb15e 100644
--- a/ares_gethostbyaddr.c
+++ b/ares_gethostbyaddr.c
@@ -14,7 +14,7 @@
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c
index d708dfb..acf1a44 100644
--- a/ares_gethostbyname.c
+++ b/ares_gethostbyname.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_getnameinfo.c b/ares_getnameinfo.c
index 2c5cf0e..ec0fac0 100644
--- a/ares_getnameinfo.c
+++ b/ares_getnameinfo.c
@@ -14,7 +14,7 @@
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_GETSERVBYPORT_R
# if !defined(GETSERVBYPORT_R_ARGS) || \
diff --git a/ares_getsock.c b/ares_getsock.c
index 38b8fef..1c5e9ff 100644
--- a/ares_getsock.c
+++ b/ares_getsock.c
@@ -13,7 +13,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
diff --git a/ares_init.c b/ares_init.c
index 9f90f9e..f7973f1 100644
--- a/ares_init.c
+++ b/ares_init.c
@@ -16,7 +16,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#if defined(WIN32) && !defined(WATT32)
#include <iphlpapi.h>
diff --git a/ares_library_init.c b/ares_library_init.c
index f7286ad..a2486ac 100644
--- a/ares_library_init.c
+++ b/ares_library_init.c
@@ -16,7 +16,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include "ares.h"
#include "ares_library_init.h"
diff --git a/ares_library_init.h b/ares_library_init.h
index 6c596ba..d99a0ba 100644
--- a/ares_library_init.h
+++ b/ares_library_init.h
@@ -19,7 +19,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef WIN32
diff --git a/ares_llist.c b/ares_llist.c
index 77cbd4d..f261dc7 100644
--- a/ares_llist.c
+++ b/ares_llist.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include "ares.h"
#include "ares_private.h"
diff --git a/ares_mkquery.c b/ares_mkquery.c
index 27ec1ee..5657188 100644
--- a/ares_mkquery.c
+++ b/ares_mkquery.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_parse_a_reply.c b/ares_parse_a_reply.c
index c2d809f..3d59c8a 100644
--- a/ares_parse_a_reply.c
+++ b/ares_parse_a_reply.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_parse_aaaa_reply.c b/ares_parse_aaaa_reply.c
index dd1d33b..58c6b8a 100644
--- a/ares_parse_aaaa_reply.c
+++ b/ares_parse_aaaa_reply.c
@@ -16,7 +16,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_parse_ns_reply.c b/ares_parse_ns_reply.c
index a7f4543..25c6329 100644
--- a/ares_parse_ns_reply.c
+++ b/ares_parse_ns_reply.c
@@ -20,7 +20,7 @@
* on behalf of AVIRA Gmbh - http://www.avira.com
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_parse_ptr_reply.c b/ares_parse_ptr_reply.c
index b72f995..9923a9d 100644
--- a/ares_parse_ptr_reply.c
+++ b/ares_parse_ptr_reply.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_parse_srv_reply.c b/ares_parse_srv_reply.c
index 9179d4d..8833310 100644
--- a/ares_parse_srv_reply.c
+++ b/ares_parse_srv_reply.c
@@ -20,7 +20,7 @@
* on behalf of Red Hat - http://www.redhat.com
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_parse_txt_reply.c b/ares_parse_txt_reply.c
index 6a83b07..583b64f 100644
--- a/ares_parse_txt_reply.c
+++ b/ares_parse_txt_reply.c
@@ -17,7 +17,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_process.c b/ares_process.c
index 41d1811..0bc3985 100644
--- a/ares_process.c
+++ b/ares_process.c
@@ -16,7 +16,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_query.c b/ares_query.c
index 0d1f036..2a717fb 100644
--- a/ares_query.c
+++ b/ares_query.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/ares_search.c b/ares_search.c
index 9ab48e0..8673c28 100644
--- a/ares_search.c
+++ b/ares_search.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/ares_send.c b/ares_send.c
index 54e4861..c2b0065 100644
--- a/ares_send.c
+++ b/ares_send.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/setup.h b/ares_setup.h
index 6959fe7..5896437 100644
--- a/setup.h
+++ b/ares_setup.h
@@ -1,5 +1,5 @@
-#ifndef __ARES_SETUP_H
-#define __ARES_SETUP_H
+#ifndef HEADER_CARES_SETUP_H
+#define HEADER_CARES_SETUP_H
/* $Id$ */
@@ -184,4 +184,4 @@
#include "setup_once.h"
#endif
-#endif /* __ARES_SETUP_H */
+#endif /* HEADER_CARES_SETUP_H */
diff --git a/ares_strcasecmp.c b/ares_strcasecmp.c
index c3d1df9..30d64b9 100644
--- a/ares_strcasecmp.c
+++ b/ares_strcasecmp.c
@@ -16,7 +16,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include "ares_strcasecmp.h"
#ifndef HAVE_STRCASECMP
diff --git a/ares_strcasecmp.h b/ares_strcasecmp.h
index 85b053a..28164d7 100644
--- a/ares_strcasecmp.h
+++ b/ares_strcasecmp.h
@@ -18,7 +18,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifndef HAVE_STRCASECMP
extern int ares_strcasecmp(const char *a, const char *b);
diff --git a/ares_strdup.c b/ares_strdup.c
index 31137a3..6742c6f 100644
--- a/ares_strdup.c
+++ b/ares_strdup.c
@@ -16,7 +16,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include "ares_strdup.h"
#ifndef HAVE_STRDUP
diff --git a/ares_strdup.h b/ares_strdup.h
index 33df619..980da52 100644
--- a/ares_strdup.h
+++ b/ares_strdup.h
@@ -18,7 +18,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifndef HAVE_STRDUP
extern char *ares_strdup(const char *s1);
diff --git a/ares_strerror.c b/ares_strerror.c
index 1265cee..70af5b6 100644
--- a/ares_strerror.c
+++ b/ares_strerror.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include <assert.h>
#include "ares.h"
diff --git a/ares_timeout.c b/ares_timeout.c
index 18ef6e8..72ea0dc 100644
--- a/ares_timeout.c
+++ b/ares_timeout.c
@@ -15,7 +15,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
diff --git a/ares_version.c b/ares_version.c
index 25f8e77..0f7d037 100644
--- a/ares_version.c
+++ b/ares_version.c
@@ -1,6 +1,6 @@
/* $Id$ */
-#include "setup.h"
+#include "ares_setup.h"
#include "ares.h"
const char *ares_version(int *version)
diff --git a/ares_writev.c b/ares_writev.c
index 96cf543..4c12942 100644
--- a/ares_writev.c
+++ b/ares_writev.c
@@ -16,7 +16,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_LIMITS_H
# include <limits.h>
diff --git a/ares_writev.h b/ares_writev.h
index f5850ef..860b294 100644
--- a/ares_writev.h
+++ b/ares_writev.h
@@ -18,7 +18,7 @@
* without express or implied warranty.
*/
-#include "setup.h"
+#include "ares_setup.h"
#include "ares.h"
#ifndef HAVE_WRITEV
diff --git a/bitncmp.c b/bitncmp.c
index 3089186..2ec8dc5 100644
--- a/bitncmp.c
+++ b/bitncmp.c
@@ -19,7 +19,7 @@
#ifndef HAVE_BITNCMP
-#include "setup.h"
+#include "ares_setup.h"
#include "bitncmp.h"
/*
diff --git a/inet_net_pton.c b/inet_net_pton.c
index 84a1dc5..1e278a7 100644
--- a/inet_net_pton.c
+++ b/inet_net_pton.c
@@ -17,7 +17,7 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/inet_ntop.c b/inet_ntop.c
index 7f43b5c..b306177 100644
--- a/inet_ntop.c
+++ b/inet_ntop.c
@@ -16,7 +16,7 @@
* SOFTWARE.
*/
-#include "setup.h"
+#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
diff --git a/windows_port.c b/windows_port.c
index fd13b14..64096a5 100644
--- a/windows_port.c
+++ b/windows_port.c
@@ -1,4 +1,4 @@
-#include "setup.h"
+#include "ares_setup.h"
/* $Id$ */