summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
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"