Index: files/patch-include_iprt_types.h =================================================================== --- files/patch-include_iprt_types.h (nonexistent) +++ files/patch-include_iprt_types.h (working copy) @@ -0,0 +1,26 @@ +--- include/iprt/types.h.orig 2018-05-09 16:32:07 UTC ++++ include/iprt/types.h +@@ -56,22 +56,9 @@ RT_C_DECLS_END + # include + + # elif defined(RT_OS_FREEBSD) && defined(_KERNEL) +- /* +- * Kludge for the FreeBSD kernel: +- * stddef.h and sys/types.h have slightly different offsetof definitions +- * when compiling in kernel mode. This is just to make GCC shut up. +- */ +-# ifndef _STDDEF_H_ +-# undef offsetof +-# endif ++ + # include +-# ifndef _SYS_TYPES_H_ +-# undef offsetof +-# endif + # include +-# ifndef offsetof +-# error "offsetof is not defined!" +-# endif + + # elif defined(RT_OS_FREEBSD) && HC_ARCH_BITS == 64 && defined(RT_ARCH_X86) + /* Property changes on: files/patch-include_iprt_types.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property