summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Čermák <dan.cermak@cgc-instruments.com>2017-08-04 00:01:22 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-04 11:17:39 +0200
commit028ed77ca9579eb38a02007e98d75e0dbe9509d2 (patch)
tree2ffda94f603dfc08eb662e41f8f309ef6812193b
parentAPIDump: Class types in variables and hooks are now linkified (#3892) (diff)
downloadcuberite-028ed77ca9579eb38a02007e98d75e0dbe9509d2.tar
cuberite-028ed77ca9579eb38a02007e98d75e0dbe9509d2.tar.gz
cuberite-028ed77ca9579eb38a02007e98d75e0dbe9509d2.tar.bz2
cuberite-028ed77ca9579eb38a02007e98d75e0dbe9509d2.tar.lz
cuberite-028ed77ca9579eb38a02007e98d75e0dbe9509d2.tar.xz
cuberite-028ed77ca9579eb38a02007e98d75e0dbe9509d2.tar.zst
cuberite-028ed77ca9579eb38a02007e98d75e0dbe9509d2.zip
-rw-r--r--src/Bindings/LuaState.h3
-rw-r--r--src/ChunkMap.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h
index d91a72a74..3d5b1e645 100644
--- a/src/Bindings/LuaState.h
+++ b/src/Bindings/LuaState.h
@@ -35,6 +35,9 @@ extern "C"
#include "lua/src/lauxlib.h"
}
+
+#include <functional>
+
#include "../Defines.h"
#include "PluginManager.h"
#include "LuaState_Typedefs.inc"
diff --git a/src/ChunkMap.h b/src/ChunkMap.h
index 63f5a6c60..330c6532d 100644
--- a/src/ChunkMap.h
+++ b/src/ChunkMap.h
@@ -6,6 +6,8 @@
#pragma once
+#include <functional>
+
#include "ChunkDataCallback.h"
#include "EffectID.h"