aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cyrus-sasl/fix-gcc14-time-includes.diff
blob: f7417a91fa3aeedbd5b0f8f4a8d952255e09fd92 (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
diff --git a/lib/saslutil.c b/lib/saslutil.c
index 46c628c7..5341cbb3 100644
--- 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>
 
diff --git a/plugins/cram.c b/plugins/cram.c
index d02e9baa..89c9308d 100644
--- a/plugins/cram.c
+++ b/plugins/cram.c
@@ -52,6 +52,7 @@
 #include <sys/stat.h>
 #endif
 #include <fcntl.h>
+#include <time.h>
 
 #include <sasl.h>
 #include <saslplug.h>