diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 7736ac39465..20170d6d154 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4783,5 +4783,7 @@ INITFUNC() PyDict_SetItemString(d, "error", PyExc_OSError); +#ifdef HAVE_PUTENV posix_putenv_garbage = PyDict_New(); +#endif }