diff options
author | Mattes D <github@xoft.cz> | 2024-03-11 23:16:17 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2024-03-15 00:24:05 +0100 |
commit | 7b8f6eb951b0e42bef8afe651f8531875e37f913 (patch) | |
tree | b19309e7c0aeb4e2c5abc58d0ebcd95375c03d11 /src/Bindings/DeprecatedBindings.cpp | |
parent | Fix build under clang-15. (diff) | |
download | cuberite-7b8f6eb951b0e42bef8afe651f8531875e37f913.tar cuberite-7b8f6eb951b0e42bef8afe651f8531875e37f913.tar.gz cuberite-7b8f6eb951b0e42bef8afe651f8531875e37f913.tar.bz2 cuberite-7b8f6eb951b0e42bef8afe651f8531875e37f913.tar.lz cuberite-7b8f6eb951b0e42bef8afe651f8531875e37f913.tar.xz cuberite-7b8f6eb951b0e42bef8afe651f8531875e37f913.tar.zst cuberite-7b8f6eb951b0e42bef8afe651f8531875e37f913.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/DeprecatedBindings.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Bindings/DeprecatedBindings.cpp b/src/Bindings/DeprecatedBindings.cpp index d46d565bd..783f308a7 100644 --- a/src/Bindings/DeprecatedBindings.cpp +++ b/src/Bindings/DeprecatedBindings.cpp @@ -2,6 +2,11 @@ #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "DeprecatedBindings.h" +extern "C" +{ + #include "lua/src/lua.h" + #include "lua/src/lauxlib.h" +} #undef TOLUA_TEMPLATE_BIND #include "tolua++/include/tolua++.h" |