summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-71/files/patch-include_iprt_string.h
blob: 95119057d1ca8a8f3f4d3869e095b7df5520b93d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- include/iprt/string.h.orig	2021-01-07 15:31:33 UTC
+++ include/iprt/string.h
@@ -46,6 +46,11 @@
 #elif defined(RT_OS_FREEBSD) && defined(_KERNEL)
   RT_C_DECLS_BEGIN
 # include <sys/libkern.h>
+  /*
+   * Kludge for the FreeBSD kernel:
+   *  sys/libkern.h includes sys/param.h via sys/systm.h since r335879.
+   */
+# undef PVM
   RT_C_DECLS_END
 
 #elif defined(RT_OS_NETBSD) && defined(_KERNEL)