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 9b7d85227e and
df05caea6c.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-07-23 18:23:07 +10:00
parent 8b3439e26c
commit 6a4306a0df

View File

@@ -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 <time.h>
// For size_t and ssize_t
#include <unistd.h>