Skip to content

Commit 9dedcf1

Browse files
committed
py/gc: Change include of stdint.h to stddef.h.
No std-int types are used in gc.h, but size_t is which needs stddef.h. Signed-off-by: Damien George <[email protected]>
1 parent 1f800ca commit 9dedcf1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ports/esp8266/gccollect.h

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#ifndef MICROPY_INCLUDED_ESP8266_GCCOLLECT_H
2727
#define MICROPY_INCLUDED_ESP8266_GCCOLLECT_H
2828

29+
#include <stdint.h>
30+
2931
extern uint32_t _text_start;
3032
extern uint32_t _text_end;
3133
extern uint32_t _irom0_text_start;

py/gc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define MICROPY_INCLUDED_PY_GC_H
2828

2929
#include <stdbool.h>
30-
#include <stdint.h>
30+
#include <stddef.h>
3131

3232
void gc_init(void *start, void *end);
3333

0 commit comments

Comments
 (0)