summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-11 04:27:08 +0100
committerPixel <pixel@nobis-crew.org>2009-11-11 04:27:08 +0100
commit3a16951ab9f4f81aeb609a96ff86530daf7754d9 (patch)
treefd182dfda38f329bf22c18a24759b21eed1a2f60
parentf20c537480956985edd5fdbb7a9b92e04c44161a (diff)
Forgot a few extern Cs
-rw-r--r--lib/BLua.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index c1c7f44..57b9eb8 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -20,8 +20,11 @@
#include <stdlib.h>
#include "BLua.h"
#include "Buffer.h"
+
+extern "C" {
#include <lualib.h>
#include <luajit.h>
+}
#ifndef BUFFERSIZE
#define BUFFERSIZE 2048