2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-08-19 04:36:58 +00:00
repo/extra/cyrus-sasl/patches/gcc-14.patch
2024-06-02 14:58:21 -05:00

27 lines
546 B
Diff

diff --git a/lib/saslutil.c b/lib/saslutil.c
index 46c628c..ecb4b62 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..5dc4fba 100644
--- 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