Skip to content

Commit ab4af2c

Browse files
yf13dpgeorge
authored andcommitted
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 <[email protected]>
1 parent d4399b3 commit ab4af2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/mphal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#define MICROPY_INCLUDED_PY_MPHAL_H
2828

2929
#include <stdint.h>
30+
#include <stddef.h>
3031
#include "py/mpconfig.h"
3132

3233
#ifdef MICROPY_MPHALPORT_H

0 commit comments

Comments
 (0)