2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00
repo/extra/cyrus-sasl/patches/gcc-14.patch

27 lines
546 B
Diff
Raw Normal View History

2024-06-02 13:58:21 -06:00
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