summaryrefslogtreecommitdiff
blob: 9a69797ea27a8fd58f091aa2cc746aa1274ffcbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
https://github.com/Return-To-The-Roots/s25client/pull/1431

From: Sam James <sam@gentoo.org>
Date: Thu, 19 Aug 2021 02:41:42 +0100
Subject: [PATCH] Fix build with Boost 1.77 (missing <algorithm> include)

Closes: https://bugs.gentoo.org/808767
--- a/libs/s25main/convertSounds.cpp
+++ b/libs/s25main/convertSounds.cpp
@@ -20,6 +20,7 @@
 #include <libsiedler2/ArchivItem_Sound_Wave.h>
 #include <libsiedler2/loadMapping.h>
 #include <s25util/StringConversion.h>
+#include <algorithm>
 #include <cmath>
 #include <samplerate.hpp>
 #include <sstream>