aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/lsignal.c
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-09-29 14:22:43 +0100
committerMatthew Wild <mwild1@gmail.com>2009-09-29 14:22:43 +0100
commit32fa99e2b7c12397ba8ca1e97f1a8c48aededd1c (patch)
tree4309df1c8590a53402f9531e3194aab9842dd03e /util-src/lsignal.c
parentab7a5d9e53554eb438d504d841d9de84ecdc72ca (diff)
parentd059f42d87dec4b77e0aad6fb1383bc95399d8c1 (diff)
downloadprosody-32fa99e2b7c12397ba8ca1e97f1a8c48aededd1c.tar.gz
prosody-32fa99e2b7c12397ba8ca1e97f1a8c48aededd1c.zip
Merge with 0.5
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 158efcd6..80799e4a 100644
--- a/util-src/lsignal.c
+++ b/util-src/lsignal.c
@@ -301,7 +301,7 @@ static int l_raise(lua_State *L)
return 1;
}
-#ifdef _POSIX_SOURCE
+#if defined _POSIX_SOURCE || (defined(sun) || defined(__sun))
/* define some posix only functions */