summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
Diffstat (limited to 'src/yapf')
-rw-r--r--src/yapf/yapf.hpp2
-rw-r--r--src/yapf/yapf_rail.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/yapf/yapf.hpp b/src/yapf/yapf.hpp
index f091514f3..50c0b9d33 100644
--- a/src/yapf/yapf.hpp
+++ b/src/yapf/yapf.hpp
@@ -7,7 +7,7 @@
#include "track_dir.hpp"
-#include "../vehicle.h"
+#include "../vehicle_base.h"
#include "../depot.h"
#include "../road_map.h"
#include "../tunnel_map.h"
diff --git a/src/yapf/yapf_rail.cpp b/src/yapf/yapf_rail.cpp
index 964993bf4..9da0da60c 100644
--- a/src/yapf/yapf_rail.cpp
+++ b/src/yapf/yapf_rail.cpp
@@ -8,6 +8,7 @@
#include "yapf_node_rail.hpp"
#include "yapf_costrail.hpp"
#include "yapf_destrail.hpp"
+#include "../vehicle_func.h"
#define DEBUG_YAPF_CACHE 0