aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorXiang Xiao2021-01-11 14:10:25 +0800
committerDamien George2021-02-04 22:37:26 +1100
commit5fdf351178df9a18df624ae0f5947d8a5a6bce40 (patch)
tree449d61a9d7a180682dfca570787f87f4eae5cad0 /ports
parent7f7b4f2bc68a06c9f47d6b99e953cac0b21c26c9 (diff)
py/gc: Don't include mpconfig.h and misc.h in gc.h.
Because gc.h doesn't reference any symbol from these header files. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/esp8266/gccollect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp8266/gccollect.c b/ports/esp8266/gccollect.c
index 3618a5664..bca0e030c 100644
--- a/ports/esp8266/gccollect.c
+++ b/ports/esp8266/gccollect.c
@@ -26,6 +26,7 @@
#include <stdio.h>
+#include "py/mpconfig.h"
#include "py/gc.h"
#include "gccollect.h"