From 73491f469c244ec077e8448d41c4e193b6a3599b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 22 Dec 2015 10:52:55 +0100 Subject: Do define some IPv6 related symbols even with IPv6 disabled Fixes compilation of some faulty applictions. Patch from Freetz.org Reported-by: Leonid Lisovskiy --- libc/sysdeps/linux/common/bits/in.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/common/bits/in.h b/libc/sysdeps/linux/common/bits/in.h index f4a340b80..c67fbf852 100644 --- a/libc/sysdeps/linux/common/bits/in.h +++ b/libc/sysdeps/linux/common/bits/in.h @@ -120,7 +120,7 @@ struct in_pktinfo }; #endif -#ifdef __UCLIBC_HAS_IPV6__ +#if defined __UCLIBC_HAS_IPV6__ || !defined __UCLIBC_STRICT_HEADERS__ /* Options for use with `getsockopt' and `setsockopt' at the IPv6 level. The first word in the comment at the right is the data type used; "bool" means a boolean value stored in an `int'. */ -- cgit v1.2.3