From 6a4306a0df1e936954bfeff65297d74b9b0954e2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 23 Jul 2025 18:23:07 +1000 Subject: [PATCH] unix/mpconfigport: Include time.h to get definition of time_t. Without this there's a build error on macOS (at least). This was likely due to a combination of 9b7d85227e67a7edd608aab4ff7eb4a838651f75 and df05caea6c6437a8b4756ec502a5e6210f4b6256. Signed-off-by: Damien George --- ports/unix/mpconfigport.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/unix/mpconfigport.h b/ports/unix/mpconfigport.h index c18859ecb..68943fb89 100644 --- a/ports/unix/mpconfigport.h +++ b/ports/unix/mpconfigport.h @@ -29,6 +29,9 @@ // features to work on Unix-like systems, see mpconfigvariant.h (and // mpconfigvariant_common.h) for feature enabling. +// For time_t, needed by MICROPY_TIMESTAMP_IMPL_TIME_T. +#include + // For size_t and ssize_t #include