Index: /trunk/src/VBox/Runtime/r0drv/alloc-ef-r0drv.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r0drv/alloc-ef-r0drv.cpp	(revision 58277)
+++ /trunk/src/VBox/Runtime/r0drv/alloc-ef-r0drv.cpp	(revision 58278)
@@ -29,4 +29,5 @@
 *   Header Files                                                                                                                 *
 *********************************************************************************************************************************/
+#define RTMEM_NO_WRAP_TO_EF_APIS
 #include "internal/iprt.h"
 #include <iprt/mem.h>
Index: /trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp	(revision 58277)
+++ /trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp	(revision 58278)
@@ -29,4 +29,5 @@
 *   Header Files                                                                                                                 *
 *********************************************************************************************************************************/
+#define RTMEM_NO_WRAP_TO_EF_APIS /* circular dependency otherwise. */
 #include "the-darwin-kernel.h"
 #include "internal/iprt.h"
Index: /trunk/src/VBox/Runtime/r0drv/memobj-r0drv.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r0drv/memobj-r0drv.cpp	(revision 58277)
+++ /trunk/src/VBox/Runtime/r0drv/memobj-r0drv.cpp	(revision 58278)
@@ -30,4 +30,5 @@
 *********************************************************************************************************************************/
 #define LOG_GROUP RTLOGGROUP_DEFAULT ///@todo RTLOGGROUP_MEM
+#define RTMEM_NO_WRAP_TO_EF_APIS /* circular dependency otherwise. */
 #include <iprt/memobj.h>
 #include "internal/iprt.h"
