[PATCH] suricatta/lua: Fix Lua 5.1 / LuaJIT compilation

9 views
Skip to first unread message

Christian Storm

unread,
Aug 17, 2026, 4:15:06 PM (8 days ago) Aug 17
to swup...@googlegroups.com
Add lua_compat.h to include the Lua compatibility layer
for Lua 5.1 and LuaJIT.

Signed-off-by: Christian Storm <christi...@siemens.com>
---
suricatta/server_lua.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/suricatta/server_lua.c b/suricatta/server_lua.c
index 63e7aed4..0bb18f6c 100644
--- a/suricatta/server_lua.c
+++ b/suricatta/server_lua.c
@@ -19,6 +19,7 @@
#include <lauxlib.h>
#include <lualib.h>
#include <lua_util.h>
+#include <lua_compat.h>

#include <json-c/json_visit.h>

--
2.55.0

Stefano Babic

unread,
Aug 18, 2026, 3:57:26 AM (7 days ago) Aug 18
to Christian Storm, swup...@googlegroups.com
Reviewed-by: Stefano Babic <stefan...@swupdate.org>

Best regards,
Stefano

--
_______________________________________________________________________
Nabla Software Engineering GmbH
Hirschstr. 111A | 86156 Augsburg | Tel: +49 821 45592596
Geschäftsführer : Stefano Babic | HRB 40522 Augsburg
E-Mail: sba...@nabladev.com
Reply all
Reply to author
Forward
0 new messages