From 3ac26da52801101180070ce1392cbd40c3e7954e Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Sat, 21 Sep 2019 18:39:08 +0100 Subject: Fix build on FreeBSD --- luxio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'luxio.c') 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"); -- cgit v1.2.1