[ntpsec commit] <netinet/in6.h> is stanerduzed, include it unconditionally...
Eric S. Raymond
esr at ntpsec.org
Sat Oct 3 10:31:06 UTC 2015
Module: ntpsec
Branch: master
Commit: d2a614e1f4b50201595f05c4d9fa2a0da7849d2e
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=d2a614e1f4b50201595f05c4d9fa2a0da7849d2e
Author: Eric S. Raymond <esr at thyrsus.com>
Date: Sat Oct 3 06:29:09 2015 -0400
<netinet/in6.h> is stanerduzed, include it unconditionally...
...to get rid of two configuration guards.
---
lib/isc/unix/include/isc/net.h | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/lib/isc/unix/include/isc/net.h b/lib/isc/unix/include/isc/net.h
index 01a8adc..4d1f13f 100644
--- a/lib/isc/unix/include/isc/net.h
+++ b/lib/isc/unix/include/isc/net.h
@@ -70,12 +70,7 @@
#include <netinet/in.h> /* Contractual promise. */
#include <arpa/inet.h> /* Contractual promise. */
-#ifdef ISC_PLATFORM_NEEDNETINETIN6H
-#include <netinet/in6.h> /* Required on UnixWare. */
-#endif
-#ifdef ISC_PLATFORM_NEEDNETINET6IN6H
-#include <netinet6/in6.h> /* Required on BSD/OS for in6_pktinfo. */
-#endif
+#include <netinet/in6.h>
#include <isc/lang.h>
#include <isc/types.h>
More information about the vc
mailing list