mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-23 11:49:50 +00:00
commit
599a9e8316
@ -21,13 +21,13 @@ project(kqueue)
|
|||||||
|
|
||||||
if (DARLING)
|
if (DARLING)
|
||||||
include_directories(
|
include_directories(
|
||||||
"${CMAKE_SOURCE_DIR}/src/external/lkm"
|
"${CMAKE_SOURCE_DIR}/src/external/xnu"
|
||||||
"${CMAKE_BINARY_DIR}/src/external/darlingserver/include"
|
"${CMAKE_BINARY_DIR}/src/external/darlingserver/include"
|
||||||
"${CMAKE_SOURCE_DIR}/src/external/darlingserver/include"
|
"${CMAKE_SOURCE_DIR}/src/external/darlingserver/include"
|
||||||
)
|
)
|
||||||
|
|
||||||
# For epoll
|
# 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")
|
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)
|
#add_definitions(-DKERNEL_PRIVATE)
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <mach/message.h>
|
#include <mach/message.h>
|
||||||
#include "api.h"
|
|
||||||
#include <darling/emulation/ext/for-libkqueue.h>
|
#include <darling/emulation/ext/for-libkqueue.h>
|
||||||
#include <darlingserver/rpc-supplement.h>
|
#include <darlingserver/rpc-supplement.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user