summaryrefslogtreecommitdiffstats
path: root/daemon/lua/kres-gen-30.lua
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/lua/kres-gen-30.lua')
-rw-r--r--daemon/lua/kres-gen-30.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/lua/kres-gen-30.lua b/daemon/lua/kres-gen-30.lua
index 7639e79..f3f8a49 100644
--- a/daemon/lua/kres-gen-30.lua
+++ b/daemon/lua/kres-gen-30.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;