aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorLibravatar Dominique Martinet <asmadeus@codewreck.org>2017-11-23 00:15:31 +0100
committerLibravatar Dominique Martinet <asmadeus@codewreck.org>2017-11-23 00:19:11 +0100
commit6c1cd82e3244ba3cb5a248618580d19d0f5cfd3d (patch)
tree7fd02b3a0d5566c7f806601309e958cc1d20a199 /sway/desktop/xdg_shell_v6.c
parentwlr_data_device header update (diff)
downloadsway-6c1cd82e3244ba3cb5a248618580d19d0f5cfd3d.tar.gz
sway-6c1cd82e3244ba3cb5a248618580d19d0f5cfd3d.tar.zst
sway-6c1cd82e3244ba3cb5a248618580d19d0f5cfd3d.zip
xdg_shell_v6: add _POSIX_C_SOURCE define for struct timespec
wlroots 1e0e73 added struct timespec to wlr_seat.h, so we need to define a _POSIX_C_SOURCE large enough whenever we include wlr_seat.h
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 04f3f42c..b3dbcfbe 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -1,3 +1,4 @@
1#define _POSIX_C_SOURCE 199309L
1#include <stdlib.h> 2#include <stdlib.h>
2#include <wayland-server.h> 3#include <wayland-server.h>
3#include <wlr/types/wlr_xdg_shell_v6.h> 4#include <wlr/types/wlr_xdg_shell_v6.h>