target/linux: add preliminary 2.6.37 kernel support
SVN-Revision: 23828
This commit is contained in:
17
target/linux/generic/patches-2.6.37/903-stddef_include.patch
Normal file
17
target/linux/generic/patches-2.6.37/903-stddef_include.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- a/include/linux/stddef.h
|
||||
+++ b/include/linux/stddef.h
|
||||
@@ -16,6 +16,7 @@ enum {
|
||||
false = 0,
|
||||
true = 1
|
||||
};
|
||||
+#endif /* __KERNEL__ */
|
||||
|
||||
#undef offsetof
|
||||
#ifdef __compiler_offsetof
|
||||
@@ -23,6 +24,5 @@ enum {
|
||||
#else
|
||||
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
|
||||
#endif
|
||||
-#endif /* __KERNEL__ */
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user