sway

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

commit d5678a147fb98116c40659823e2fb677bf3167ce
parent fd37ded3a317d516bafdb92ec8fc1408892f480c
Author: emersion <contact@emersion.fr>
Date:   Sat,  1 Dec 2018 08:35:22 +0100

Merge pull request #3226 from CameronNemo/musl

swaylock: fix build with musl libc
Diffstat:
Mswaylock/main.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/swaylock/main.c b/swaylock/main.c @@ -4,6 +4,7 @@ #include <errno.h> #include <fcntl.h> #include <getopt.h> +#include <poll.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> @@ -961,7 +962,7 @@ int main(int argc, char **argv) { } state.eventloop = loop_create(); - loop_add_fd(state.eventloop, wl_display_get_fd(state.display), POLL_IN, + loop_add_fd(state.eventloop, wl_display_get_fd(state.display), POLLIN, display_in, NULL); state.run_display = true;