diff options
Diffstat (limited to 'util-src/lsignal.c')
-rw-r--r-- | util-src/lsignal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/lsignal.c b/util-src/lsignal.c index 80799e4a..30975508 100644 --- a/util-src/lsignal.c +++ b/util-src/lsignal.c @@ -348,7 +348,7 @@ static int l_kill(lua_State *L) static const struct luaL_Reg lsignal_lib[] = { {"signal", l_signal}, {"raise", l_raise}, -#ifdef _POSIX_SOURCE +#if defined _POSIX_SOURCE || (defined(sun) || defined(__sun)) {"kill", l_kill}, #endif {NULL, NULL} |