This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Windows builds require perliol.h conditional on USE_PERLIO.
[perl5.git] / util.c
diff --git a/util.c b/util.c
index 4b4bfe1..dabc062 100644 (file)
--- a/util.c
+++ b/util.c
@@ -25,7 +25,9 @@
 #define PERL_IN_UTIL_C
 #include "perl.h"
 
+#ifdef USE_PERLIO
 #include "perliol.h" /* For PerlIOUnix_refcnt */
+#endif
 
 #ifndef PERL_MICRO
 #include <signal.h>