summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-05-03 15:02:51 +0200
committerTycho <work.tycho+git@gmail.com>2014-05-03 15:02:51 +0200
commit616ddf5ca50450279198775a598796bb367cf8ce (patch)
tree836b6b8774216e0735aeb63226443e976483e0da /src
parentFixed polarssl programs included (diff)
downloadcuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.gz
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.bz2
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.lz
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.xz
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.tar.zst
cuberite-616ddf5ca50450279198775a598796bb367cf8ce.zip
Diffstat (limited to '')
-rw-r--r--src/BiomeDef.h2
-rw-r--r--src/ChunkBuffer.h7
-rw-r--r--src/StringUtils.h3
-rw-r--r--src/Vector3.h2
4 files changed, 13 insertions, 1 deletions
diff --git a/src/BiomeDef.h b/src/BiomeDef.h
index 67916890d..f929596e9 100644
--- a/src/BiomeDef.h
+++ b/src/BiomeDef.h
@@ -10,7 +10,7 @@
#pragma once
-
+#include "StringUtils.h"
// tolua_begin
diff --git a/src/ChunkBuffer.h b/src/ChunkBuffer.h
index c23f8971d..410532232 100644
--- a/src/ChunkBuffer.h
+++ b/src/ChunkBuffer.h
@@ -1,6 +1,13 @@
#pragma once
+
+#include <cstring>
+
+
+#include "ChunkDef.h"
+
+
#define CHUNK_SECTION_HEIGHT 16
#define CHUNK_SECTION_NUM (256 / CHUNK_SECTION_HEIGHT)
diff --git a/src/StringUtils.h b/src/StringUtils.h
index b69e47d3c..347fbe909 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -11,6 +11,9 @@
+#include <string>
+
+
typedef std::string AString;
diff --git a/src/Vector3.h b/src/Vector3.h
index 2c79f9ff1..53fdcf6df 100644
--- a/src/Vector3.h
+++ b/src/Vector3.h
@@ -5,6 +5,8 @@
#define _USE_MATH_DEFINES // Enable non-standard math defines (MSVC)
#include <math.h>
+#include <list>
+#include <vector>