diff options
author | Mattes D <github@xoft.cz> | 2024-03-11 23:16:17 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2024-03-11 23:16:17 +0100 |
commit | c052b387ec09463c450f530692e258c7f522324b (patch) | |
tree | 28d1a3150cd486f33354d3a7de9fc18c0666b15d /src/Bindings/LuaWindow.cpp | |
parent | fix minecart bugs. (#5516) (diff) | |
download | cuberite-c052b387ec09463c450f530692e258c7f522324b.tar cuberite-c052b387ec09463c450f530692e258c7f522324b.tar.gz cuberite-c052b387ec09463c450f530692e258c7f522324b.tar.bz2 cuberite-c052b387ec09463c450f530692e258c7f522324b.tar.lz cuberite-c052b387ec09463c450f530692e258c7f522324b.tar.xz cuberite-c052b387ec09463c450f530692e258c7f522324b.tar.zst cuberite-c052b387ec09463c450f530692e258c7f522324b.zip |
Diffstat (limited to 'src/Bindings/LuaWindow.cpp')
-rw-r--r-- | src/Bindings/LuaWindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Bindings/LuaWindow.cpp b/src/Bindings/LuaWindow.cpp index eb4187887..073b8c21e 100644 --- a/src/Bindings/LuaWindow.cpp +++ b/src/Bindings/LuaWindow.cpp @@ -7,7 +7,10 @@ #include "../Entities/Player.h" #include "../UI/SlotArea.h" #include "PluginLua.h" -#include "lua/src/lauxlib.h" // Needed for LUA_REFNIL +extern "C" +{ + #include "lua/src/lauxlib.h" // Needed for LUA_REFNIL +} #include "../Root.h" #include "../ClientHandle.h" |