From 53f55a7140ac169d72b68d73e2d71db273bb8066 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Fri, 30 Nov 2018 19:58:58 -0800 Subject: [PATCH] swaylock: fix build with musl libc Signed-off-by: Cameron Nemo --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 50f145e..9aeb4e6 100644 --- a/main.c +++ b/main.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -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;