Fix build on FreeBSD (missing SIGPOLL) (#1379)

This commit is contained in:
Renato Botelho 2017-01-10 12:51:11 -02:00 committed by Daniel Hahler
parent c96987909e
commit 86fb767d77
1 changed files with 3 additions and 0 deletions

3
luaa.c
View File

@ -612,7 +612,10 @@ setup_awesome_signals(lua_State *L)
/* POSIX.1-2001, according to man 7 signal */
SETUP_SIGNAL(SIGBUS);
/* Some Operating Systems doesn't have SIGPOLL (e.g. FreeBSD) */
#ifdef SIGPOLL
SETUP_SIGNAL(SIGPOLL);
#endif
SETUP_SIGNAL(SIGPROF);
SETUP_SIGNAL(SIGSYS);
SETUP_SIGNAL(SIGTRAP);