Merge pull request #4 from darlinghq/remove_lkm

Remove LKM
This commit is contained in:
CuriousTommy 2023-07-26 11:57:27 -07:00 committed by GitHub
commit 599a9e8316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -29,7 +29,6 @@
#include <unistd.h>
#include <stdint.h>
#include <mach/message.h>
#include "api.h"
#include <darling/emulation/ext/for-libkqueue.h>
#include <darlingserver/rpc-supplement.h>