forked from Lainports/freebsd-ports
15 lines
422 B
C
15 lines
422 B
C
--- dialects/freebsd/dlsof.h.orig 2019-05-22 14:37:20 UTC
|
|
+++ dialects/freebsd/dlsof.h
|
|
@@ -45,6 +45,12 @@
|
|
#include <signal.h>
|
|
#include <unistd.h>
|
|
|
|
+#if FREEBSDV>=13000
|
|
+/* This header is a huge mess. Please don't support EOL FreeBSD releases. */
|
|
+#define _KERNEL 1
|
|
+#include <sys/_lock.h>
|
|
+#undef _KERNEL
|
|
+#endif /* FREEBSDV>=13000 */
|
|
# if FREEBSDV>=4000
|
|
# if FREEBSDV>=5000
|
|
# if FREEBSDV<6020
|