summaryrefslogtreecommitdiffstats
path: root/daemon/lua/kres-gen-31.lua
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/lua/kres-gen-31.lua')
-rw-r--r--daemon/lua/kres-gen-31.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/lua/kres-gen-31.lua b/daemon/lua/kres-gen-31.lua
index e555a6a..46b349e 100644
--- a/daemon/lua/kres-gen-31.lua
+++ b/daemon/lua/kres-gen-31.lua
@@ -2,9 +2,10 @@
local ffi = require('ffi')
--[[ This file is generated by ./kres-gen.sh ]] ffi.cdef[[
-typedef long time_t;
-typedef long __time_t;
-typedef long __suseconds_t;
+
+typedef @time_t@ time_t;
+typedef @time_t@ __time_t;
+typedef @time_t@ __suseconds_t;
struct timeval {
__time_t tv_sec;
__suseconds_t tv_usec;