From ab4af2c1a61550cd300ff8dcd57fce6099f3338e Mon Sep 17 00:00:00 2001 From: Yanfeng Liu Date: Tue, 29 Jul 2025 18:10:17 +0800 Subject: [PATCH] py/mphal: Add stddef.h header for size_t. This includes "stddef.h" for `size_t` to resolve NuttX integration build issues. Signed-off-by: Yanfeng Liu --- py/mphal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/py/mphal.h b/py/mphal.h index a4f222d0b1e11..d52e10be44c3c 100644 --- a/py/mphal.h +++ b/py/mphal.h @@ -27,6 +27,7 @@ #define MICROPY_INCLUDED_PY_MPHAL_H #include +#include #include "py/mpconfig.h" #ifdef MICROPY_MPHALPORT_H