]> git.ipfire.org Git - thirdparty/glibc.git/commit
Define __USE_KERNEL_IPV6_DEFS macro for non-Linux kernels
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 8 Jul 2016 09:24:34 +0000 (11:24 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 8 Jul 2016 09:24:34 +0000 (11:24 +0200)
commitbe4830bf94e1159b00c4cc97c084c6e4765a61ae
tree619fa8a5dcbcd5439101b3c50ee3a7b972439520
parent6bcc7ced4fd417e8f65b9b8f50ad7010c3549d9f
Define __USE_KERNEL_IPV6_DEFS macro for non-Linux kernels

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 non-Linux kernels (for example Hurd). To fix that define it in the
generic bits/in.h file.

Changelog:
* bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
ChangeLog
bits/in.h