summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index cf6e6fae26..21d11ebeaf 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -17,6 +17,12 @@
#define MICROPY_MOD_SYS_STDFILES (1)
#define MICROPY_ENABLE_MOD_CMATH (1)
+extern const struct _mp_obj_module_t mp_module_time;
+extern const struct _mp_obj_module_t mp_module_socket;
+#define MICROPY_EXTRA_BUILTIN_MODULES \
+ { MP_OBJ_NEW_QSTR(MP_QSTR_time), (mp_obj_t)&mp_module_time }, \
+ { MP_OBJ_NEW_QSTR(MP_QSTR_microsocket), (mp_obj_t)&mp_module_socket }, \
+
// type definitions for the specific machine
#ifdef __LP64__