aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/lsignal.c
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-12-09 16:25:18 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-12-09 16:25:18 +0500
commit1b3f83b6196afa283903294add20d05071f1b04a (patch)
tree8cdd387f50c364cd28e54461077202a2b05dcce4 /util-src/lsignal.c
parentb4eed8099cc3e3f445fb97f882ad207b0148abac (diff)
downloadprosody-1b3f83b6196afa283903294add20d05071f1b04a.tar.gz
prosody-1b3f83b6196afa283903294add20d05071f1b04a.zip
util.signal: Make kill() available on Solaris; really fixes #136.
Diffstat (limited to 'util-src/lsignal.c')
-rw-r--r--util-src/lsignal.c2
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}