Include 'algorithm' header for std::sort()
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 20 May 2024 10:47:25 +0000 (12:47 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 1 Aug 2024 12:40:51 +0000 (14:40 +0200)
gcc 8.3+ errored out about missing std::sort() when including "timefunc.hxx".

src/timefunc.hxx

index 3cb34ad..1a8911e 100644 (file)
@@ -31,6 +31,7 @@ on this file might be covered by the GNU General Public License.
 #include <list>
 #include <string>
 #include <cstdlib>
+#include <algorithm>
 
 #include <boost/optional.hpp>