From: Jani Taskinen Date: Fri, 18 Dec 2009 11:02:07 +0000 (+0000) Subject: - Fixed bug #50508 (compile fails: Conflicting HEADER type declarations) X-Git-Tag: php-5.2.13RC1~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75d5ae95c2f414716943966f793fd5380129e668;p=php - Fixed bug #50508 (compile fails: Conflicting HEADER type declarations) # NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed --- diff --git a/NEWS b/NEWS index 72d4b02639..9fdb61fa0e 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,10 @@ PHP NEWS ?? ??? 2010, PHP 5.2.13 - Fixed build of mysqli with MySQL 5.5.0-m2. (Andrey) +- Fixed bug #50508 (compile failure: Conflicting HEADER type declarations). + (Jani) + + 17 Dec 2009, PHP 5.2.12 - Updated timezone database to version 2009.19 (2009s). (Derick) diff --git a/configure.in b/configure.in index 167ff19678..b688c0119c 100644 --- a/configure.in +++ b/configure.in @@ -378,7 +378,6 @@ sys/time.h \ netinet/in.h \ alloca.h \ arpa/inet.h \ -arpa/nameser_compat.h \ arpa/nameser.h \ assert.h \ crypt.h \ diff --git a/ext/standard/dns.c b/ext/standard/dns.c index bc6e888ec0..1401785094 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -34,14 +34,14 @@ #endif /* located in www.php.net/extra/bindlib.zip */ #if HAVE_ARPA_INET_H -#include "arpa/inet.h" +#include #endif -#include "netdb.h" +#include #if HAVE_ARPA_NAMESERV_H -#include "arpa/nameser.h" +#include #endif #if HAVE_RESOLV_H -#include "resolv.h" +#include #endif #endif /* HAVE_LIBBIND */ #include @@ -55,9 +55,6 @@ #undef STATUS #undef T_UNSPEC #endif -#if HAVE_ARPA_NAMESER_COMPAT_H -#include -#endif #if HAVE_ARPA_NAMESER_H #include #endif