Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/emulators/virtualbox-ose/files/patch-include_iprt_string.h
17348 views
1
--- include/iprt/string.h.orig 2021-01-07 15:31:33 UTC
2
+++ include/iprt/string.h
3
@@ -46,6 +46,11 @@
4
#elif defined(RT_OS_FREEBSD) && defined(_KERNEL)
5
RT_C_DECLS_BEGIN
6
# include <sys/libkern.h>
7
+ /*
8
+ * Kludge for the FreeBSD kernel:
9
+ * sys/libkern.h includes sys/param.h via sys/systm.h since r335879.
10
+ */
11
+# undef PVM
12
RT_C_DECLS_END
13
14
#elif defined(RT_OS_NETBSD) && defined(_KERNEL)
15
16