summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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