summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/posixmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 7736ac3..20170d6 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
}