1 --- a/include/linux/stddef.h
2 +++ b/include/linux/stddef.h
3 @@ -12,6 +12,7 @@ enum {
7 +#endif /* __KERNEL__ */
10 #ifdef __compiler_offsetof
11 @@ -19,6 +20,5 @@ enum {
13 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
15 -#endif /* __KERNEL__ */