mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-03 01:41:30 -05:00
Re-enable os-wrappers-test.c on Darwin, fix errors
Signed-off-by: Torrekie Gen <me@torrekie.dev>
This commit is contained in:
parent
d0d2a43e33
commit
2376a31c20
4 changed files with 43 additions and 9 deletions
|
|
@ -45,6 +45,14 @@
|
|||
#include "wayland-server-private.h"
|
||||
#include "wayland-os.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
/* epoll-shim should provide this by design */
|
||||
struct itimerspec {
|
||||
struct timespec it_interval;
|
||||
struct timespec it_value;
|
||||
};
|
||||
#endif
|
||||
|
||||
/** \cond INTERNAL */
|
||||
|
||||
#define TIMER_REMOVED -2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue