From 6c1cd82e3244ba3cb5a248618580d19d0f5cfd3d Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Thu, 23 Nov 2017 00:15:31 +0100 Subject: [PATCH] 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 --- sway/desktop/xdg_shell_v6.c | 1 + 1 file changed, 1 insertion(+) 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 @@ +#define _POSIX_C_SOURCE 199309L #include #include #include