BSD/OS 4.2 and Bind 8.4.1

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sat Oct 4 23:39:47 UTC 2003


> Hi,
> 
> 	Hadn't this been fixed in 8.3.2?

	It is fixed in 8.4.2 (out shortly).
	
Index: bind8/src/port/bsdos/include/port_after.h
diff -u bind8/src/port/bsdos/include/port_after.h:1.38 bind8/src/port/bsdos/include/port_after.h:1.40
--- bind8/src/port/bsdos/include/port_after.h:1.38	Mon Apr 28 21:58:56 2003
+++ bind8/src/port/bsdos/include/port_after.h	Thu Sep  4 13:51:22 2003
@@ -53,8 +53,19 @@
 #if (!defined(BSD)) || (BSD < 199306)
 #include <sys/bitypes.h>
 #endif
-#include <netinet/in.h>	/* in_port_t */
+#include <netinet/in.h>	/* in_port_t and IPV6_PKTINFO */
+
+/*
+ * BSD/OS 4.0 and 4.1 need to explicitly include <netinet6/in6.h>.
+ */
+#if defined(__bsdi__) && defined(IPV6_PKTINFO) && _BSDI_VERSION < 200005
+# include <netinet6/in6.h>
+#endif
+
 #include <sys/time.h>
+#ifdef HAVE_GETIFADDRS
+#include <ifaddrs.h>
+#endif
 /*
  * We need to know the IPv6 address family number even on IPv4-only systems.
  * Note that this is NOT a protocol constant, and that if the system has its
@@ -220,4 +231,5 @@
 		_u.k = konst; \
 		var = _u.v; \
 	} while (0) 
+
 #endif	/* ! PORT_AFTER_H */
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list