diff --git a/CMakeLists.txt b/CMakeLists.txt index 204c963..cbb9cd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,13 +21,13 @@ project(kqueue) if (DARLING) include_directories( - "${CMAKE_SOURCE_DIR}/src/external/lkm" + "${CMAKE_SOURCE_DIR}/src/external/xnu" "${CMAKE_BINARY_DIR}/src/external/darlingserver/include" "${CMAKE_SOURCE_DIR}/src/external/darlingserver/include" ) # For epoll - include_directories("${CMAKE_SOURCE_DIR}/src/kernel/emulation/linux/ext") + include_directories("${CMAKE_SOURCE_DIR}/src/external/xnu/darling/src/libsystem_kernel/emulation/linux/ext") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -DHAVE_SYS_EVENTFD_H -DHAVE_SYS_SIGNALFD_H -DHAVE_SYS_TIMERFD_H -ggdb -O0") #add_definitions(-DKERNEL_PRIVATE) diff --git a/src/linux/machport.c b/src/linux/machport.c index da53a75..db5aab0 100644 --- a/src/linux/machport.c +++ b/src/linux/machport.c @@ -29,7 +29,6 @@ #include #include #include -#include "api.h" #include #include