[Glibc-bsd-commits] r6079 - trunk/glibc-ports-2.24/kfreebsd/bits
aurel32 at alioth.debian.org
aurel32 at alioth.debian.org
Wed Jul 6 20:43:16 UTC 2016
Author: aurel32
Date: 2016-07-06 20:43:16 +0000 (Wed, 06 Jul 2016)
New Revision: 6079
Modified:
trunk/glibc-ports-2.24/kfreebsd/bits/in.h
Log:
Define __USE_KERNEL_IPV6_DEFS macro
Commit 1c1e7fb6 changed the __USE_KERNEL_IPV6_DEFS tests from 'ifdef'
to 'if'. As inet/netinet.in.h is a generic file, this causes a warning
on GNU/kFreeBSD. To fix that define it to 0.
Modified: trunk/glibc-ports-2.24/kfreebsd/bits/in.h
===================================================================
--- trunk/glibc-ports-2.24/kfreebsd/bits/in.h 2016-07-06 16:24:54 UTC (rev 6078)
+++ trunk/glibc-ports-2.24/kfreebsd/bits/in.h 2016-07-06 20:43:16 UTC (rev 6079)
@@ -22,6 +22,8 @@
# error "Never use <bits/in.h> directly; include <netinet/in.h> instead."
#endif
+/* This is the FreeBSD version, do not assume a linux-based kernel. */
+#define __USE_KERNEL_IPV6_DEFS 0
/* Link numbers. */
#define IMPLINK_IP 155
More information about the Glibc-bsd-commits
mailing list