X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=package%2Flibs%2Flibnl%2Fpatches%2F110-offsetof.patch;fp=package%2Flibs%2Flibnl%2Fpatches%2F110-offsetof.patch;h=0000000000000000000000000000000000000000;hp=fa944a9c4b7c98413c1a8feb97acc119542ada77;hb=d1d01636b340035fb67fbfa09bb4a7790285c1f4;hpb=49799d344da6a497c0931fec535ad4a07ca054c8 diff --git a/package/libs/libnl/patches/110-offsetof.patch b/package/libs/libnl/patches/110-offsetof.patch deleted file mode 100644 index fa944a9c4b..0000000000 --- a/package/libs/libnl/patches/110-offsetof.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/include/netlink-local.h -+++ b/include/netlink-local.h -@@ -337,7 +337,9 @@ static inline int nl_cb_call(struct nl_c - } - - #define ARRAY_SIZE(X) (sizeof(X) / sizeof((X)[0])) -+#ifndef offsetof - #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) -+#endif - - #define __init __attribute__ ((constructor)) - #define __exit __attribute__ ((destructor))