py/opmethods: Include the correct header for binary op enums.
By directly including runtime0.h the mpconfig.h settings are not included and so the enums in runtime0.h can be incorrect.
This commit is contained in:
parent
9783ac282e
commit
5b2f62aff3
@ -24,7 +24,7 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "py/runtime0.h"
|
||||
#include "py/obj.h"
|
||||
#include "py/builtin.h"
|
||||
|
||||
STATIC mp_obj_t op_getitem(mp_obj_t self_in, mp_obj_t key_in) {
|
||||
|
Loading…
Reference in New Issue
Block a user