summaryrefslogtreecommitdiffstats
path: root/libs/cyrus-sasl/patches/010-gcc14.patch
blob: 0ef2dad5c9639284a6e3b1f9b12fd3a013032143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- a/lib/saslutil.c
+++ b/lib/saslutil.c
@@ -59,9 +59,7 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
-#ifdef HAVE_TIME_H
 #include <time.h>
-#endif
 #include "saslint.h"
 #include <saslutil.h>
 
--- a/plugins/cram.c
+++ b/plugins/cram.c
@@ -48,6 +48,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <time.h>
 #ifndef macintosh
 #include <sys/stat.h>
 #endif
--- a/plugins/digestmd5.c
+++ b/plugins/digestmd5.c
@@ -50,6 +50,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <time.h>
 #ifndef macintosh
 #include <sys/types.h>
 #include <sys/stat.h>