diff -r 234021dcad93 Include/import.h --- a/Include/import.h Wed May 25 02:35:58 2011 +0200 +++ b/Include/import.h Wed May 25 17:09:13 2011 +1000 @@ -44,7 +44,7 @@ const char *name /* UTF-8 encoded string */ ); PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel( - char *name, /* UTF-8 encoded string */ + const char *name, /* UTF-8 encoded string */ PyObject *globals, PyObject *locals, PyObject *fromlist, diff -r 234021dcad93 Python/import.c --- a/Python/import.c Wed May 25 02:35:58 2011 +0200 +++ b/Python/import.c Wed May 25 17:09:13 2011 +1000 @@ -2818,7 +2818,7 @@ } PyObject * -PyImport_ImportModuleLevel(char *name, PyObject *globals, PyObject *locals, +PyImport_ImportModuleLevel(const char *name, PyObject *globals, PyObject *locals, PyObject *fromlist, int level) { PyObject *nameobj, *mod;