aboutsummaryrefslogblamecommitdiff
path: root/emulators/virtualbox-ose/files/patch-include_iprt_string.h
blob: d2792545c97e308825c9710875d4bda27d34329f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                        
--- include/iprt/string.h.orig	2018-06-29 13:08:03 UTC
+++ include/iprt/string.h
@@ -43,6 +43,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)