diff options
author | Yanfeng Liu <yfliu2008@qq.com> | 2025-07-29 18:10:17 +0800 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-07-30 11:47:43 +1000 |
commit | ab4af2c1a61550cd300ff8dcd57fce6099f3338e (patch) | |
tree | f0922880a13723ea198b7db0caa7ed5ce4499c2b | |
parent | d4399b3230c0020d0f5bc2dd42f19c4579f3bf3e (diff) |
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 <yfliu2008@qq.com>
-rw-r--r-- | py/mphal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/mphal.h b/py/mphal.h index a4f222d0b..d52e10be4 100644 --- a/py/mphal.h +++ b/py/mphal.h @@ -27,6 +27,7 @@ #define MICROPY_INCLUDED_PY_MPHAL_H #include <stdint.h> +#include <stddef.h> #include "py/mpconfig.h" #ifdef MICROPY_MPHALPORT_H |