summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/search-astar.cpp1
-rw-r--r--src/search-astar.hpp2
-rw-r--r--src/search.hpp1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/search-astar.cpp b/src/search-astar.cpp
index eb2812a2..7f3a9da6 100644
--- a/src/search-astar.cpp
+++ b/src/search-astar.cpp
@@ -2,6 +2,7 @@
#include "search-bbox.hpp"
#include "search-constants.hpp"
#include "search-cache.hpp"
+#include "search-result.hpp"
#include "compat/format.hpp"
#include "compat/vector-wrapper.hpp"
#include "compat/heap.hpp"
diff --git a/src/search-astar.hpp b/src/search-astar.hpp
index a56b7f53..dbd89892 100644
--- a/src/search-astar.hpp
+++ b/src/search-astar.hpp
@@ -8,6 +8,8 @@ namespace floormat::Search { struct cache; }
namespace floormat {
+struct point;
+
class astar
{
public:
diff --git a/src/search.hpp b/src/search.hpp
index b70dc049..c4ffc1eb 100644
--- a/src/search.hpp
+++ b/src/search.hpp
@@ -2,7 +2,6 @@
#include "tile-constants.hpp"
#include "global-coords.hpp"
#include "object-id.hpp"
-#include "search-result.hpp"
#include "search-pred.hpp"
#include <array>