Author: glen Date: Tue Apr 21 09:26:55 2009 GMT Module: SOURCES Tag: HEAD ---- Log message: - include stddef.h for offsetof (thx patrys)
---- Files affected: SOURCES: libHX-gcc3.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/libHX-gcc3.patch diff -u /dev/null SOURCES/libHX-gcc3.patch:1.1 --- /dev/null Tue Apr 21 11:26:56 2009 +++ SOURCES/libHX-gcc3.patch Tue Apr 21 11:26:49 2009 @@ -0,0 +1,11 @@ +--- libHX-2.2/src/defs.h~ 2009-04-21 12:21:14.000000000 +0300 ++++ libHX-2.2/src/defs.h 2009-04-21 12:22:39.924235667 +0300 +@@ -1,6 +1,8 @@ + #ifndef _LIBHX_DEFS_H + #define _LIBHX_DEFS_H 1 + ++#include <stddef.h> ++ + #ifdef __cplusplus + # if defined(__GNUC__) && !defined(offsetof) + # define offsetof(type, member) __builtin_offsetof(type, member) ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit