Changeset 77122 in vbox
- Timestamp:
- Feb 1, 2019 3:17:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/types.h
r76585 r77122 60 60 61 61 # elif defined(RT_OS_FREEBSD) && defined(_KERNEL) 62 # include <sys/param.h> 63 # undef PVM 64 # if __FreeBSD_version < 1200000 62 65 /* 63 66 * Kludge for the FreeBSD kernel: … … 65 68 * when compiling in kernel mode. This is just to make GCC shut up. 66 69 */ 67 # ifndef _STDDEF_H_ 68 # undef offsetof 69 # endif 70 # include <sys/stddef.h> 71 # ifndef _SYS_TYPES_H_ 72 # undef offsetof 73 # endif 74 # include <sys/types.h> 75 # ifndef offsetof 76 # error "offsetof is not defined!" 70 # ifndef _STDDEF_H_ 71 # undef offsetof 72 # endif 73 # include <sys/stddef.h> 74 # ifndef _SYS_TYPES_H_ 75 # undef offsetof 76 # endif 77 # include <sys/types.h> 78 # ifndef offsetof 79 # error "offsetof is not defined!" 80 # endif 81 # else 82 # include <sys/stddef.h> 83 # include <sys/types.h> 77 84 # endif 78 85
Note:
See TracChangeset
for help on using the changeset viewer.