git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e28bf73
)
Include 'algorithm' header for std::sort()
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 May 2024 10:47:25 +0000 (12:47 +0200)
committer
Thomas 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
patch
|
blob
|
blame
|
history
diff --git
a/src/timefunc.hxx
b/src/timefunc.hxx
index
3cb34ad
..
1a8911e
100644
(file)
--- a/
src/timefunc.hxx
+++ b/
src/timefunc.hxx
@@
-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>