mcst-linux-kernel/patches-2024.06.26/0ad-2020.11.30/0009-boost1.74-compat-bug15...

17 lines
582 B
Diff

Subject: boost1.74 compatibility
Bug: 153990
Tags: common
diff -rupN a/source/simulation2/helpers/VertexPathfinder.h b/source/simulation2/helpers/VertexPathfinder.h
--- a/source/simulation2/helpers/VertexPathfinder.h 2023-11-30 02:32:23.181236189 +0300
+++ b/source/simulation2/helpers/VertexPathfinder.h 2023-11-30 02:33:16.238243773 +0300
@@ -22,6 +22,8 @@
#include "simulation2/helpers/Pathfinding.h"
#include "simulation2/system/CmpPtr.h"
+#include <atomic>
+
// A vertex around the corners of an obstruction
// (paths will be sequences of these vertexes)
struct Vertex