aboutsummaryrefslogtreecommitdiff
path: root/py/opmethods.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-11-24 12:16:21 +1100
committerDamien George <damien.p.george@gmail.com>2017-11-24 12:16:21 +1100
commit5b2f62aff312949c9c7edec6cfaaf4f97d93c442 (patch)
tree9ef597610a81f12b7848359c47f3b4e8ad55a01c /py/opmethods.c
parent9783ac282ebe216d37be39fdf07113e6880c19b7 (diff)
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.
Diffstat (limited to 'py/opmethods.c')
-rw-r--r--py/opmethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/opmethods.c b/py/opmethods.c
index 1200ba39e..31901bb52 100644
--- a/py/opmethods.c
+++ b/py/opmethods.c
@@ -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) {