From 34b4720ea10ebe396dc48c21afe62e1570ecadb6 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sun, 12 Jul 2026 03:45:35 -0700 Subject: [PATCH] add struct_tm --- mod.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/mod.zig b/mod.zig index f6eb08c4446a8f66f3d550e0205341f0e615a9ec..b27eb77864e45ca3e356592127fb85c691a75cf4 100644 --- a/mod.zig +++ b/mod.zig @@ -2898,6 +2898,7 @@ pub const struct_dirent = extern struct { ino: ino_t, off: off_t, reclen: c_usho pub const cpu_set_t = [1024 / 8 / @sizeOf(c_ulong)]c_ulong; pub const nfds_t = c_ulong; pub const struct_pollfd = extern struct { fd: c_int, events: c_short, revents: c_short }; +pub const struct_tm = extern struct { sec: c_int, min: c_int, hour: c_int, mday: c_int, mon: c_int, year: c_int, wday: c_int, yday: c_int, isdst: c_int, gmtoff: c_long, zone: [*:0]const u8 }; const impdef = @cImport({ @cInclude("pthread.h"); -- 2.54.0