summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-22 10:52:55 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-22 10:54:49 +0100
commit73491f469c244ec077e8448d41c4e193b6a3599b (patch)
tree76da595fc3346c73fcc0f85340fe771c388ee60a
parent6b4bcce3cbb89442f96e2e47a507b5983f27a191 (diff)
Do define some IPv6 related symbols even with IPv6 disabled
Fixes compilation of some faulty applictions. Patch from Freetz.org Reported-by: Leonid Lisovskiy <lly.dev@gmail.com>
-rw-r--r--libc/sysdeps/linux/common/bits/in.h2
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 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'. */