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:
Damien George 2017-11-24 12:16:21 +11:00
parent 9783ac282e
commit 5b2f62aff3
1 changed files with 1 additions and 1 deletions

View File

@ -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) {