mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-02 02:01:46 +03:00
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.
This commit is contained in:
parent
6bcc7ced4f
commit
be4830bf94
@ -1,3 +1,7 @@
|
|||||||
|
2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
|
||||||
|
|
||||||
|
* bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
|
||||||
|
|
||||||
2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
|
2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
|
||||||
|
|
||||||
[BZ #20240]
|
[BZ #20240]
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
# error "Never use <bits/in.h> directly; include <netinet/in.h> instead."
|
# error "Never use <bits/in.h> directly; include <netinet/in.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* This is the generic version, do not assume a linux-based kernel. */
|
||||||
|
#define __USE_KERNEL_IPV6_DEFS 0
|
||||||
|
|
||||||
/* To select the IP level. */
|
/* To select the IP level. */
|
||||||
#define SOL_IP 0
|
#define SOL_IP 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user