7dd82f4591415de73105edd2d55920bf28658ce8
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 903-stddef_include.patch
1 Index: linux-2.6.25.4/include/linux/stddef.h
2 ===================================================================
3 --- linux-2.6.25.4.orig/include/linux/stddef.h
4 +++ linux-2.6.25.4/include/linux/stddef.h
5 @@ -16,6 +16,7 @@ enum {
6 false = 0,
7 true = 1
8 };
9 +#endif /* __KERNEL__ */
10
11 #undef offsetof
12 #ifdef __compiler_offsetof
13 @@ -23,6 +24,5 @@ enum {
14 #else
15 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
16 #endif
17 -#endif /* __KERNEL__ */
18
19 #endif
This page took 0.044398 seconds and 3 git commands to generate.