summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/directiontables.h1
-rw-r--r--src/util/numeric.h4
-rw-r--r--src/util/pointedthing.h1
-rw-r--r--src/util/pointer.h1
-rw-r--r--src/util/serialize.h2
5 files changed, 9 insertions, 0 deletions
diff --git a/src/util/directiontables.h b/src/util/directiontables.h
index c02b3d124..5bebd2fdb 100644
--- a/src/util/directiontables.h
+++ b/src/util/directiontables.h
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define UTIL_DIRECTIONTABLES_HEADER
#include "../irrlichttypes.h"
+#include "../irr_v3d.h"
extern const v3s16 g_6dirs[6];
diff --git a/src/util/numeric.h b/src/util/numeric.h
index 0ce21b7e3..5ed4d0e99 100644
--- a/src/util/numeric.h
+++ b/src/util/numeric.h
@@ -21,6 +21,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define UTIL_NUMERIC_HEADER
#include "../irrlichttypes.h"
+#include "../irr_v2d.h"
+#include "../irr_v3d.h"
+#include "../irr_aabb3d.h"
+#include <irrList.h>
// Calculate the borders of a "d-radius" cube
void getFacePositions(core::list<v3s16> &list, u16 d);
diff --git a/src/util/pointedthing.h b/src/util/pointedthing.h
index 82d66dfa8..e61e2f4f3 100644
--- a/src/util/pointedthing.h
+++ b/src/util/pointedthing.h
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define UTIL_POINTEDTHING_HEADER
#include "../irrlichttypes.h"
+#include "../irr_v3d.h"
#include <iostream>
#include <string>
diff --git a/src/util/pointer.h b/src/util/pointer.h
index 02f11c2ea..766cc2328 100644
--- a/src/util/pointer.h
+++ b/src/util/pointer.h
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "../irrlichttypes.h"
#include "../debug.h" // For assert()
+#include <cstring>
template <typename T>
class SharedPtr
diff --git a/src/util/serialize.h b/src/util/serialize.h
index e229a00be..50a002c10 100644
--- a/src/util/serialize.h
+++ b/src/util/serialize.h
@@ -21,6 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define UTIL_SERIALIZE_HEADER
#include "../irrlichttypes.h"
+#include "../irr_v2d.h"
+#include "../irr_v3d.h"
#include <iostream>
#include <string>
#include "../exceptions.h"