diff options
author | rubidium <rubidium@openttd.org> | 2008-05-30 09:32:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-30 09:32:24 +0000 |
commit | 026afc097a1cf098b2b62a6f91a384bf3ae17c91 (patch) | |
tree | 30aff0d5e2babd8c02d945388b876743efa44a66 | |
parent | 8cc39500ba81766bc8d289fb2b7b031cd9af3283 (diff) | |
download | openttd-026afc097a1cf098b2b62a6f91a384bf3ae17c91.tar.xz |
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
-rw-r--r-- | src/misc/smallvec.h | 3 | ||||
-rw-r--r-- | src/sortlist_type.h | 2 |
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" |