about summary refs log tree commit diff
path: root/pkgs/tools/archivers/zip/fix-time.h-not-included.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/zip/fix-time.h-not-included.patch')
-rw-r--r--pkgs/tools/archivers/zip/fix-time.h-not-included.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/zip/fix-time.h-not-included.patch b/pkgs/tools/archivers/zip/fix-time.h-not-included.patch
new file mode 100644
index 0000000000000..9db8d66e9a10f
--- /dev/null
+++ b/pkgs/tools/archivers/zip/fix-time.h-not-included.patch
@@ -0,0 +1,10 @@
+--- zip30/timezone.c	2024-05-21 05:14:55.959957517 +0000
++++ zip30/timezone.c	2024-05-21 05:15:14.852006815 +0000
+@@ -41,6 +41,7 @@
+ #include "timezone.h"
+ #include <ctype.h>
+ #include <errno.h>
++#include <time.h>
+
+ #ifdef IZTZ_DEFINESTDGLOBALS
+ long timezone = 0;