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.3.2RC1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52f83608d80a41435a14f93d3d4ce6ce57b010f7;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 c51abd9ea7..673427faef 100644 --- a/NEWS +++ b/NEWS @@ -35,6 +35,8 @@ PHP NEWS - Fixed memory leak in extension loading when an error occurs on Windows. (Pierre) +- Fixed bug #50508 (compile failure: Conflicting HEADER type declarations). + (Jani) - Fixed bug #50496 (Use of is valid only in a c99 compilation environment. (Sriram) - Fixed bug #50464 (declare encoding doesn't work within an included file). diff --git a/configure.in b/configure.in index 2aa4ffdcc2..bbf236523f 100644 --- a/configure.in +++ b/configure.in @@ -411,7 +411,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 da036ab087..30ffdd6dc5 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -46,9 +46,6 @@ #if HAVE_ARPA_NAMESER_H #include #endif -#if HAVE_ARPA_NAMESER_COMPAT_H -#include -#endif #if HAVE_RESOLV_H #include #endif