mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
14 lines
402 B
C
14 lines
402 B
C
--- 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)
|