File nspluginwrapper-offsetof.patch of Package nspluginwrapper

--- lsb-build/headers/stddef.h
+++ lsb-build/headers/stddef.h
@@ -7,7 +7,7 @@
 #endif
 
 
-#define offsetof(TYPE,MEMBER)	((size_t)&((TYPE*)0)->MEMBER)
+#define offsetof(TYPE,MEMBER)	__builtin_offsetof(TYPE,MEMBER)
 
 #if !defined(__cplusplus)
 
openSUSE Build Service is sponsored by