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 <damien@micropython.org>
pull/6849/head
Damien George 2021-02-05 15:45:38 +11:00
rodzic 1f800cac3c
commit 9dedcf122d
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -26,6 +26,8 @@
#ifndef MICROPY_INCLUDED_ESP8266_GCCOLLECT_H
#define MICROPY_INCLUDED_ESP8266_GCCOLLECT_H
#include <stdint.h>
extern uint32_t _text_start;
extern uint32_t _text_end;
extern uint32_t _irom0_text_start;

Wyświetl plik

@ -27,7 +27,7 @@
#define MICROPY_INCLUDED_PY_GC_H
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
void gc_init(void *start, void *end);