From: Stephen van Egmond Date: Tue, 6 Feb 2001 00:07:21 +0000 (+0000) Subject: Added tests for arpa/*.h and resolv.h which don't exist on the BeOS. X-Git-Tag: php-4.0.5RC1~351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b10273781a4f6b94324ab198d425d09c2e7ef19d;p=php Added tests for arpa/*.h and resolv.h which don't exist on the BeOS. The dns functions on BeOS come from socket.h --- diff --git a/ext/standard/dns.c b/ext/standard/dns.c index d370ce6fa8..c181885319 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -42,15 +42,21 @@ #include #else #include +#if HAVE_ARPA_INET_H #include +#endif #include #ifdef _OSD_POSIX #undef STATUS #undef T_UNSPEC #endif +#if HAVE_ARPA_NAMESER_H #include +#endif +#if HAVE_RESOLV_H #include #endif +#endif #include "dns.h"