mirror of
https://github.com/emersion/kanshi
synced 2024-11-23 00:02:16 +01:00
Add missing header after 5a30abdf0b3b
../main.c:82:3: error: use of undeclared identifier 'sigset_t' sigset_t set; ^ ../main.c:83:3: error: implicit declaration of function 'sigemptyset' is invalid in C99 [-Werror,-Wimplicit-function-declaration] sigemptyset(&set); ^ ../main.c:83:16: error: use of undeclared identifier 'set' sigemptyset(&set); ^ ../main.c:84:3: error: implicit declaration of function 'sigprocmask' is invalid in C99 [-Werror,-Wimplicit-function-declaration] sigprocmask(SIG_SETMASK, &set, NULL); ^ ../main.c:84:15: error: use of undeclared identifier 'SIG_SETMASK' sigprocmask(SIG_SETMASK, &set, NULL); ^ ../main.c:84:29: error: use of undeclared identifier 'set' sigprocmask(SIG_SETMASK, &set, NULL); ^
This commit is contained in:
parent
57c135f203
commit
846b725637
1
main.c
1
main.c
@ -2,6 +2,7 @@
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user