diff options
Diffstat (limited to 'py/objmodule.h')
| -rw-r--r-- | py/objmodule.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/objmodule.h b/py/objmodule.h index 9cc9a2f10..8b14cd9fc 100644 --- a/py/objmodule.h +++ b/py/objmodule.h @@ -28,6 +28,12 @@ #include "py/obj.h" +#ifndef NO_QSTR +// Only include module definitions when not doing qstr extraction, because the +// qstr extraction stage also generates this module definition header file. +#include "genhdr/moduledefs.h" +#endif + extern const mp_map_t mp_builtin_module_map; extern const mp_map_t mp_builtin_extensible_module_map; |
