Index: /trunk/src/VBox/Runtime/r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp	(revision 85340)
+++ /trunk/src/VBox/Runtime/r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp	(revision 85341)
@@ -33,7 +33,9 @@
 # include <sys/kauth.h>
 RT_C_DECLS_BEGIN /* Buggy 10.4 headers, fixed in 10.5. */
-# include <sys/kpi_mbuf.h>
-# include <net/kpi_interfacefilter.h>
-# include <sys/kpi_socket.h>
+# if MAC_OS_X_VERSION_MIN_REQUIRED < 101500
+#  include <sys/kpi_mbuf.h>
+#  include <net/kpi_interfacefilter.h>
+#  include <sys/kpi_socket.h>
+# endif
 # include <sys/kpi_socketfilter.h>
 RT_C_DECLS_END
@@ -370,6 +372,4 @@
         KNOWN_ENTRY(copystr),
         KNOWN_ENTRY(current_proc),
-        KNOWN_ENTRY(ifnet_hdrlen),
-        KNOWN_ENTRY(ifnet_set_promiscuous),
         KNOWN_ENTRY(kauth_getuid),
 #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
@@ -378,5 +378,4 @@
         KNOWN_ENTRY(kauth_cred_rele),
 #endif
-        KNOWN_ENTRY(mbuf_data),
         KNOWN_ENTRY(msleep),
         KNOWN_ENTRY(nanotime),
@@ -384,4 +383,7 @@
         KNOWN_ENTRY(proc_pid),
 #if MAC_OS_X_VERSION_MIN_REQUIRED < 101500
+        KNOWN_ENTRY(mbuf_data),
+        KNOWN_ENTRY(ifnet_hdrlen),
+        KNOWN_ENTRY(ifnet_set_promiscuous),
         KNOWN_ENTRY(sock_accept),
         KNOWN_ENTRY(sockopt_name),
