aboutsummaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
Diffstat (limited to 'controller')
-rw-r--r--controller/ctl-lua.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/controller/ctl-lua.h b/controller/ctl-lua.h
index 628db7f..2a85543 100644
--- a/controller/ctl-lua.h
+++ b/controller/ctl-lua.h
@@ -44,10 +44,16 @@
#include <afb/afb-binding.h>
#include <json-c/json.h>
-// standard lua include file
+
+#ifdef SUSE_LUA_INCDIR
+#include <lua5.3/lua.h>
+#include <lua5.3/lauxlib.h>
+#include <lua5.3/lualib.h>
+#else
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
+#endif
#include "ctl-timer.h"
#include "ctl-config.h"