add missing dependencies on PCI/PCMCIA/USB support
[openwrt.git] / target / linux / generic-2.6 / patches / 903-stddef_include.patch
1 diff -urN linux-2.6.21.1.old/include/linux/stddef.h linux-2.6.21.1.dev/include/linux/stddef.h
2 --- linux-2.6.21.1.old/include/linux/stddef.h 2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1.dev/include/linux/stddef.h 2007-05-26 21:29:46.108898864 +0200
4 @@ -16,6 +16,7 @@
5 false = 0,
6 true = 1
7 };
8 +#endif /* __KERNEL__ */
9
10 #undef offsetof
11 #ifdef __compiler_offsetof
12 @@ -23,6 +24,5 @@
13 #else
14 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
15 #endif
16 -#endif /* __KERNEL__ */
17
18 #endif
This page took 0.057271 seconds and 5 git commands to generate.