depot/third_party/nixpkgs/pkgs/tools/archivers/zip/fix-time.h-not-included.patch
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

10 lines
265 B
Diff

--- 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;