Skip to content
Snippets Groups Projects
Commit 5b2f62af authored by Damien George's avatar Damien George
Browse files

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.
parent 9783ac28
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment