Skip to content

Commit

Permalink
py/gc: Change include of stdint.h to stddef.h.
Browse files Browse the repository at this point in the history
No std-int types are used in gc.h, but size_t is which needs stddef.h.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Feb 5, 2021
1 parent 1f800ca commit 9dedcf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ports/esp8266/gccollect.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion py/gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9dedcf1

Please sign in to comment.