diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-12-09 16:25:18 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-12-09 16:25:18 +0500 |
commit | d37732ee69d48ae1582e195d6d6bcc4609d3e596 (patch) | |
tree | 3ece70146783101ef5b36dd38d60dbcdbaef9371 | |
parent | ac9d44a858f4d4374fc97ef9b2f6959b460ea863 (diff) | |
download | prosody-d37732ee69d48ae1582e195d6d6bcc4609d3e596.tar.gz prosody-d37732ee69d48ae1582e195d6d6bcc4609d3e596.zip |
util.signal: Make kill() available on Solaris; really fixes #136.
-rw-r--r-- | util-src/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/signal.c b/util-src/signal.c index 80799e4a..30975508 100644 --- a/util-src/signal.c +++ b/util-src/signal.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} |