summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-30 09:32:24 +0000
committerrubidium <rubidium@openttd.org>2008-05-30 09:32:24 +0000
commite81386476f09997485e7f707f3349685e2140a97 (patch)
tree30aff0d5e2babd8c02d945388b876743efa44a66 /src
parent00ccb1dc33141e6c4bb5036bcf77b4e446ceb4fc (diff)
downloadopenttd-e81386476f09997485e7f707f3349685e2140a97.tar.xz
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
Diffstat (limited to 'src')
-rw-r--r--src/misc/smallvec.h3
-rw-r--r--src/sortlist_type.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/misc/smallvec.h b/src/misc/smallvec.h
index 7f85cc96a..9fc212dbe 100644
--- a/src/misc/smallvec.h
+++ b/src/misc/smallvec.h
@@ -5,6 +5,9 @@
#ifndef SMALLVEC_H
#define SMALLVEC_H
+#include "../core/alloc_func.hpp"
+#include "../core/math_func.hpp"
+
template <typename T, uint S>
struct SmallVector {
T *data;
diff --git a/src/sortlist_type.h b/src/sortlist_type.h
index 46dcc0839..46185d503 100644
--- a/src/sortlist_type.h
+++ b/src/sortlist_type.h
@@ -5,6 +5,8 @@
#ifndef SORTLIST_TYPE_H
#define SORTLIST_TYPE_H
+#include "core/enum_type.hpp"
+#include "core/bitmath_func.hpp"
#include "misc/smallvec.h"
#include "date_type.h"