0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-06 03:46:41 +00:00
termux-packages/packages/libsasl/cyrus-sasl-2.1.28-fix-time.h-check-0002.patch
Tee KOBAYASHI cea4d33e32 libsasl: Fix implicit declaration of function
declared in `<time.h>`.
2023-04-11 08:28:39 +09:00

16 lines
286 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/plugins/digestmd5.c
+++ b/plugins/digestmd5.c
@@ -85,6 +85,10 @@
#else /* Unix */
# include <netinet/in.h>
#endif /* WIN32 */
+
+#ifdef HAVE_TIME_H
+# include <time.h>
+#endif
#include <sasl.h>
#include <saslplug.h>