summaryrefslogtreecommitdiff
path: root/add-algorithm-include-gcc-14.patch
diff options
context:
space:
mode:
Diffstat (limited to 'add-algorithm-include-gcc-14.patch')
-rw-r--r--add-algorithm-include-gcc-14.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/add-algorithm-include-gcc-14.patch b/add-algorithm-include-gcc-14.patch
new file mode 100644
index 0000000..16b109d
--- /dev/null
+++ b/add-algorithm-include-gcc-14.patch
@@ -0,0 +1,21 @@
+From ab067e45460d9b8619344b814f2fe21f0a5d5cb9 Mon Sep 17 00:00:00 2001
+From: H3o66 <chris.h3o66@gmail.com>
+Date: Mon, 6 May 2024 21:37:14 +0200
+Subject: [PATCH] fix: add algorithm include to fix gcc14 compile
+
+---
+ src/openrct2/core/FileWatcher.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/openrct2/core/FileWatcher.cpp b/src/openrct2/core/FileWatcher.cpp
+index afb9177c1818..b3c24db6c65f 100644
+--- a/src/openrct2/core/FileWatcher.cpp
++++ b/src/openrct2/core/FileWatcher.cpp
+@@ -7,6 +7,7 @@
+ * OpenRCT2 is licensed under the GNU General Public License version 3.
+ *****************************************************************************/
+
++#include <algorithm>
+ #include <array>
+ #include <cstdio>
+ #include <stdexcept>