summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2024-03-11 23:16:17 +0100
committerMattes D <github@xoft.cz>2024-03-15 00:24:05 +0100
commit7b8f6eb951b0e42bef8afe651f8531875e37f913 (patch)
treeb19309e7c0aeb4e2c5abc58d0ebcd95375c03d11 /src/Bindings/LuaState.h
parentFix build under clang-15. (diff)
downloadcuberite-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/LuaState.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h
index 64e6cbe82..27b2990a6 100644
--- a/src/Bindings/LuaState.h
+++ b/src/Bindings/LuaState.h
@@ -30,7 +30,10 @@ stays valid but doesn't call into Lua code anymore, returning false for "failure
#pragma once
-#include "lua/src/lauxlib.h"
+extern "C"
+{
+ #include "lua/src/lauxlib.h"
+}
#include "../Defines.h"
#include "../FunctionRef.h"