mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-26 21:20:38 +00:00
Update Sources To Use New "<darling/emulation/...>" Path
This commit is contained in:
parent
7e2ade452a
commit
8e6d0c289f
@ -43,7 +43,7 @@ extern int __thread_selfid();
|
||||
#endif
|
||||
|
||||
#ifdef DARLING
|
||||
#include <darling/emulation/simple.h>
|
||||
#include <darling/emulation/syscall/common/simple.h>
|
||||
#endif
|
||||
|
||||
FILE* debug_file();
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#include <mach/message.h>
|
||||
#include <darling/emulation/ext/for-libkqueue.h>
|
||||
#include <darling/emulation/syscall/other/for_libkqueue.h>
|
||||
#include <darlingserver/rpc-supplement.h>
|
||||
|
||||
#include "private.h"
|
||||
|
@ -20,11 +20,20 @@
|
||||
struct filter;
|
||||
|
||||
#include <sys/syscall.h>
|
||||
#ifdef DARLING
|
||||
#include <darling/emulation/syscall/linux/ext/sys/epoll.h>
|
||||
#include <darling/emulation/syscall/linux/ext/sys/inotify.h>
|
||||
#else
|
||||
#include <sys/epoll.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/inotify.h>
|
||||
#endif
|
||||
#include <sys/queue.h>
|
||||
#if HAVE_SYS_EVENTFD_H
|
||||
#ifdef DARLING
|
||||
# include <darling/emulation/syscall/linux/ext/sys/eventfd.h>
|
||||
#else
|
||||
# include <sys/eventfd.h>
|
||||
#endif
|
||||
#else
|
||||
# define eventfd(a,b) syscall(SYS_eventfd, (a), (b))
|
||||
|
||||
@ -36,14 +45,18 @@ struct filter;
|
||||
}
|
||||
#endif
|
||||
#if HAVE_SYS_TIMERFD_H
|
||||
#ifdef DARLING
|
||||
#include <darling/emulation/syscall/linux/ext/sys/timerfd.h>
|
||||
#else
|
||||
# include <sys/timerfd.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Get the current thread ID
|
||||
*/
|
||||
#ifdef DARLING
|
||||
#include <darling/emulation/base.h>
|
||||
#include <darling/emulation/syscall/common/base.h>
|
||||
# define syscall __linux_syscall
|
||||
#else
|
||||
# define _GNU_SOURCE
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <darling/emulation/ext/for-libkqueue.h>
|
||||
#include <darling/emulation/syscall/other/for_libkqueue.h>
|
||||
#include <darlingserver/rpc-supplement.h>
|
||||
|
||||
#include "private.h"
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <darling/emulation/ext/for-libkqueue.h>
|
||||
#include <darling/emulation/syscall/other/for_libkqueue.h>
|
||||
|
||||
#include "private.h"
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <darling/emulation/ext/for-libkqueue.h>
|
||||
#include <darling/emulation/syscall/other/for_libkqueue.h>
|
||||
|
||||
#include "private.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user