diff options
| author | Cameron Nemo <camerontnorman@gmail.com> | 2018-11-30 19:58:58 -0800 |
|---|---|---|
| committer | Cameron Nemo <camerontnorman@gmail.com> | 2018-11-30 23:22:09 -0800 |
| commit | 53f55a7140ac169d72b68d73e2d71db273bb8066 (patch) | |
| tree | f727ead973019626bfaa0a0fed699a1bfbe86657 /main.c | |
| parent | 8191c2147b83ebefd9f45be43d53db7d7fc14dc5 (diff) | |
swaylock: fix build with musl libc
Signed-off-by: Cameron Nemo <camerontnorman@gmail.com>
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
