sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 6c1cd82e3244ba3cb5a248618580d19d0f5cfd3d
parent b8f8de27b865248462955cddaad223acb76d05c1
Author: Dominique Martinet <asmadeus@codewreck.org>
Date:   Thu, 23 Nov 2017 00:15:31 +0100

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:
Msway/desktop/xdg_shell_v6.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c @@ -1,3 +1,4 @@ +#define _POSIX_C_SOURCE 199309L #include <stdlib.h> #include <wayland-server.h> #include <wlr/types/wlr_xdg_shell_v6.h>