diff --git a/Include/import.h b/Include/import.h index 10ba69e3e28..1e09d4ea3b8 100644 --- a/Include/import.h +++ b/Include/import.h @@ -42,6 +42,8 @@ PyObject *PyImport_ExecCodeModule Py_PROTO((char *name, PyObject *co)); PyObject *PyImport_GetModuleDict Py_PROTO((void)); PyObject *PyImport_AddModule Py_PROTO((char *name)); PyObject *PyImport_ImportModule Py_PROTO((char *name)); +PyObject *PyImport_ImportModuleEx Py_PROTO(( + char *name, PyObject *globals, PyObject *locals, PyObject *fromlist)); PyObject *PyImport_Import Py_PROTO((PyObject *name)); PyObject *PyImport_ReloadModule Py_PROTO((PyObject *m)); void PyImport_Cleanup Py_PROTO((void)); diff --git a/PC/python_nt.def b/PC/python_nt.def index 9fde47b28de..0d8ad22bd78 100644 --- a/PC/python_nt.def +++ b/PC/python_nt.def @@ -211,6 +211,8 @@ EXPORTS PyImport_GetModuleDict PyImport_GetMagicNumber PyImport_ImportModule + PyImport_ImportModuleEx + PyImport_Import PyImport_ImportFrozenModule PyImport_ReloadModule PyNumber_Coerce