Replace fprintf(stderr, ...) with PySys_WriteStderr(...).
diff --git a/Python/importdl.c b/Python/importdl.c
index 8238556..dc97f67 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -809,7 +809,7 @@
 		PyErr_Clear(); /* Not important enough to report */
 	Py_XDECREF(s);
 	if (Py_VerboseFlag)
-		fprintf(stderr,
+		PySys_WriteStderr(
 			"import %s # dynamically loaded from %s\n",
 			name, pathname);
 	Py_INCREF(m);