Skip to content

Commit 34f0d3e

Browse files
committed
py/misc: Add explicit dependency on py/mpconfig.h.
Macros in misc.h depend on values defined by including mpconfig.h. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
1 parent 255d74b commit 34f0d3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/misc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#ifndef MICROPY_INCLUDED_PY_MISC_H
2727
#define MICROPY_INCLUDED_PY_MISC_H
2828

29+
#include "py/mpconfig.h"
30+
2931
// a mini library of useful types and functions
3032

3133
/** types *******************************************************/

0 commit comments

Comments
 (0)