From b10273781a4f6b94324ab198d425d09c2e7ef19d Mon Sep 17 00:00:00 2001 From: Stephen van Egmond Date: Tue, 6 Feb 2001 00:07:21 +0000 Subject: [PATCH] Added tests for arpa/*.h and resolv.h which don't exist on the BeOS. The dns functions on BeOS come from socket.h --- ext/standard/dns.c | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- 2.50.1