mercurial/cext/osutil.c
changeset 39610 11ed2eadf937
parent 36780 f3c314020beb
child 42069 668eff08387f
--- a/mercurial/cext/osutil.c	Thu Sep 13 12:43:50 2018 -0400
+++ b/mercurial/cext/osutil.c	Thu Sep 13 17:32:20 2018 -0400
@@ -1217,7 +1217,9 @@
 	char fpmode[4];
 	int fppos = 0;
 	int plus;
+#ifndef IS_PY3K
 	FILE *fp;
+#endif
 
 	if (!PyArg_ParseTupleAndKeywords(args, kwds, PY23("et|si:posixfile",
 							  "et|yi:posixfile"),