Changeset View
Changeset View
Standalone View
Standalone View
emulators/virtualbox-ose/files/patch-include_iprt_string.h
--- include/iprt/string.h.orig 2018-06-29 13:08:03 UTC | --- include/iprt/string.h.orig 2021-01-07 15:31:33 UTC | ||||
+++ include/iprt/string.h | +++ include/iprt/string.h | ||||
@@ -43,6 +43,11 @@ | @@ -46,6 +46,11 @@ | ||||
#elif defined(RT_OS_FREEBSD) && defined(_KERNEL) | #elif defined(RT_OS_FREEBSD) && defined(_KERNEL) | ||||
RT_C_DECLS_BEGIN | RT_C_DECLS_BEGIN | ||||
# include <sys/libkern.h> | # include <sys/libkern.h> | ||||
+ /* | + /* | ||||
+ * Kludge for the FreeBSD kernel: | + * Kludge for the FreeBSD kernel: | ||||
+ * sys/libkern.h includes sys/param.h via sys/systm.h since r335879. | + * sys/libkern.h includes sys/param.h via sys/systm.h since r335879. | ||||
+ */ | + */ | ||||
+# undef PVM | +# undef PVM | ||||
RT_C_DECLS_END | RT_C_DECLS_END | ||||
#elif defined(RT_OS_NETBSD) && defined(_KERNEL) | #elif defined(RT_OS_NETBSD) && defined(_KERNEL) |