[package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs...
[openwrt.git] / target / linux / generic / patches-2.6.38 / 211-stddef_include.patch
1 --- a/include/linux/stddef.h
2 +++ b/include/linux/stddef.h
3 @@ -16,6 +16,7 @@ enum {
4 false = 0,
5 true = 1
6 };
7 +#endif /* __KERNEL__ */
8
9 #undef offsetof
10 #ifdef __compiler_offsetof
11 @@ -23,6 +24,5 @@ enum {
12 #else
13 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
14 #endif
15 -#endif /* __KERNEL__ */
16
17 #endif
This page took 0.040668 seconds and 5 git commands to generate.