aports/main/cyrus-sasl/time-h-gcc14.patch
2024-08-06 17:43:28 +02:00

26 lines
529 B
Diff

diff --git a/lib/saslutil.c b/lib/saslutil.c
index 46c628c..5341cbb 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 d02e9ba..89c9308 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>