summaryrefslogtreecommitdiff
path: root/luxio.c
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@vx21.xyz>2019-09-21 18:39:08 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-23 05:55:07 +0100
commit3ac26da52801101180070ce1392cbd40c3e7954e (patch)
tree10b88daa849f6c259768bd72a66265e0f12e7a98 /luxio.c
parent32e9b6c5b18f78731a1b49363093e0f648b29955 (diff)
downloadluxio-3ac26da52801101180070ce1392cbd40c3e7954e.tar.bz2
Fix build on FreeBSD
Diffstat (limited to 'luxio.c')
-rw-r--r--luxio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/luxio.c b/luxio.c
index 0db4979..e31fd8d 100644
--- a/luxio.c
+++ b/luxio.c
@@ -672,11 +672,13 @@ static void luxio__sigaction_hook(lua_State *L, lua_Debug *ar)
lua_pushinteger(L, info->si_uid);
lua_setfield(L, -2, "si_uid");
+#ifndef __FreeBSD__
lua_pushinteger(L, info->si_utime);
lua_setfield(L, -2, "si_utime");
lua_pushinteger(L, info->si_stime);
lua_setfield(L, -2, "si_stime");
+#endif
lua_pushinteger(L, (lua_Integer) info->si_addr);
lua_setfield(L, -2, "si_addr");