summaryrefslogtreecommitdiff
path: root/net-libs/gloox/files/gloox-1.0.24-fix-gcc12-time.patch
blob: dc0c4cd1acedce6688ff5d20996f327dd211c355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://bugs.gentoo.org/852182
--- a/src/tests/tag/tag_perf.cpp
+++ b/src/tests/tag/tag_perf.cpp
@@ -20,6 +20,7 @@ using namespace gloox;
 #include <cstdlib>
 #include <string>
 #include <cstdio> // [s]print[f]
+#include <ctime>
 
 #include <sys/time.h>
 
--- a/src/tests/zlib/zlib_perf.cpp
+++ b/src/tests/zlib/zlib_perf.cpp
@@ -24,6 +24,7 @@ using namespace gloox;
 #include <string>
 #include <sys/time.h>
 #include <cstdio> // [s]print[f]
+#include <ctime>
 
 #ifdef HAVE_ZLIB