X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3d542aac846e761a30ffa862288b30c0353540c9..8bef1323b005ae4e3343eba2d3e601a49a95c8b8:/target/linux/generic-2.6/patches-2.6.24/903-stddef_include.patch diff --git a/target/linux/generic-2.6/patches-2.6.24/903-stddef_include.patch b/target/linux/generic-2.6/patches-2.6.24/903-stddef_include.patch index f4e5cadb3..c0c01c010 100644 --- a/target/linux/generic-2.6/patches-2.6.24/903-stddef_include.patch +++ b/target/linux/generic-2.6/patches-2.6.24/903-stddef_include.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.24.7/include/linux/stddef.h -=================================================================== ---- linux-2.6.24.7.orig/include/linux/stddef.h -+++ linux-2.6.24.7/include/linux/stddef.h -@@ -16,6 +16,7 @@ enum { +--- a/include/linux/stddef.h ++++ b/include/linux/stddef.h +@@ -16,6 +16,7 @@ false = 0, true = 1 }; @@ -10,7 +8,7 @@ Index: linux-2.6.24.7/include/linux/stddef.h #undef offsetof #ifdef __compiler_offsetof -@@ -23,6 +24,5 @@ enum { +@@ -23,6 +24,5 @@ #else #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #endif