summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Bindings/LuaWindow.cpp5
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"