aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/lsignal.c
diff options
context:
space:
mode:
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 */