From 7e944dd0e3fc84f05cf4dd720fa9be3b6150335a Mon Sep 17 00:00:00 2001 From: Thomas A Date: Tue, 16 May 2023 11:57:42 -0700 Subject: [PATCH 1/2] Don't Depend On --- src/linux/machport.c | 1 - 1 file changed, 1 deletion(-) 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 From 203b36b0da3f46bb67d871edbef32ffc9446543e Mon Sep 17 00:00:00 2001 From: Thomas A Date: Fri, 19 May 2023 10:55:55 -0700 Subject: [PATCH 2/2] Update Include Path To Use XNU Repo Instead --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b775113..47c82c5 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)