mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-18 22:05:55 -05:00
event-loop: define itimerspec on darwin
Signed-off-by: Weijia Wang <contact@weijia.wang>
This commit is contained in:
parent
002e1f1d3a
commit
7ce3013ab2
1 changed files with 7 additions and 0 deletions
|
|
@ -48,6 +48,13 @@
|
|||
|
||||
#define TIMER_REMOVED -2
|
||||
|
||||
#ifdef __APPLE__
|
||||
struct itimerspec {
|
||||
struct timespec it_interval;
|
||||
struct timespec it_value;
|
||||
};
|
||||
#endif
|
||||
|
||||
struct wl_event_loop;
|
||||
struct wl_event_source_interface;
|
||||
struct wl_event_source_timer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue