strip the kernel version suffix from target directories, except for brcm-2.4 (the...
[openwrt/staging/wigyori.git] / target / linux / etrax / patches / generic_2.6 / 903-stddef_include.patch
1 --- linux-2.6.19.2/include/linux/stddef.h.old 2007-02-14 03:34:54.861805424 +0100
2 +++ linux-2.6.19.2/include/linux/stddef.h 2007-02-14 03:35:06.331061832 +0100
3 @@ -16,6 +16,7 @@
4 false = 0,
5 true = 1
6 };
7 +#endif /* __KERNEL__ */
8
9 #undef offsetof
10 #ifdef __compiler_offsetof
11 @@ -23,6 +24,5 @@
12 #else
13 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
14 #endif
15 -#endif /* __KERNEL__ */
16
17 #endif