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 | 1b3f83b6196afa283903294add20d05071f1b04a (patch) | |
tree | 8cdd387f50c364cd28e54461077202a2b05dcce4 | |
parent | b4eed8099cc3e3f445fb97f882ad207b0148abac (diff) | |
download | prosody-1b3f83b6196afa283903294add20d05071f1b04a.tar.gz prosody-1b3f83b6196afa283903294add20d05071f1b04a.zip |
util.signal: Make kill() available on Solaris; really fixes #136.
-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} |