Skip to content

Commit 06b2ab2

Browse files
committed
Include misc.h later because it depends on mpconfigport.h
1 parent c08493e commit 06b2ab2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

detail/micropythonc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
extern "C"
1111
{
1212
#endif
13-
#include <py/misc.h>
1413
#include <py/objfun.h>
1514
#include <py/objint.h>
1615
#include <py/objmodule.h>
1716
#include <py/objtype.h>
1817
#include <py/runtime.h>
18+
19+
// Included last because it depends on mpconfigport.h
20+
#include <py/misc.h>
1921
#ifdef __cplusplus
2022
}
2123
#endif

0 commit comments

Comments
 (0)