summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift/Lua')
-rw-r--r--Sluift/Lua/Value.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Sluift/Lua/Value.cpp b/Sluift/Lua/Value.cpp
index 817cbf3..4f8078e 100644
--- a/Sluift/Lua/Value.cpp
+++ b/Sluift/Lua/Value.cpp
@@ -6,7 +6,9 @@
#include "Value.h"
-#include <lualib.h>
+extern "C" {
+ #include <lualib.h>
+}
#include <boost/variant/apply_visitor.hpp>
#include <boost/numeric/conversion/cast.hpp>
#include <Swiften/Base/foreach.h>