summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2024-03-11 23:16:17 +0100
committerMattes D <github@xoft.cz>2024-03-11 23:16:17 +0100
commitc052b387ec09463c450f530692e258c7f522324b (patch)
tree28d1a3150cd486f33354d3a7de9fc18c0666b15d /src/Bindings/PluginLua.cpp
parentfix minecart bugs. (#5516) (diff)
downloadcuberite-LuaNoCpp.tar
cuberite-LuaNoCpp.tar.gz
cuberite-LuaNoCpp.tar.bz2
cuberite-LuaNoCpp.tar.lz
cuberite-LuaNoCpp.tar.xz
cuberite-LuaNoCpp.tar.zst
cuberite-LuaNoCpp.zip
Diffstat (limited to 'src/Bindings/PluginLua.cpp')
-rw-r--r--src/Bindings/PluginLua.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp
index 41e2e14f7..e218fcd06 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -20,7 +20,10 @@
#include "../Root.h"
#include "../WebAdmin.h"
-#include "lua/src/lauxlib.h"
+extern "C"
+{
+ #include "lua/src/lauxlib.h"
+}
#undef TOLUA_TEMPLATE_BIND
#include "tolua++/include/tolua++.h"