path: root/libc
diff options
authorWaldemar Brodkorb <>2015-12-22 09:52:55 (GMT)
committerWaldemar Brodkorb <>2015-12-22 09:54:49 (GMT)
commit73491f469c244ec077e8448d41c4e193b6a3599b (patch)
tree76da595fc3346c73fcc0f85340fe771c388ee60a /libc
parent6b4bcce3cbb89442f96e2e47a507b5983f27a191 (diff)
Do define some IPv6 related symbols even with IPv6 disabled
Fixes compilation of some faulty applictions. Patch from Reported-by: Leonid Lisovskiy <>
Diffstat (limited to 'libc')
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/in.h b/libc/sysdeps/linux/common/bits/in.h
index f4a340b..c67fbf8 100644
--- a/libc/sysdeps/linux/common/bits/in.h
+++ b/libc/sysdeps/linux/common/bits/in.h
@@ -120,7 +120,7 @@ struct in_pktinfo
-#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'. */