summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32io.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/win32io.c b/win32/win32io.c
index d10adb46ef..4e61aaa5f7 100644
--- a/win32/win32io.c
+++ b/win32/win32io.c
@@ -10,11 +10,15 @@
#include <sys/stat.h>
#include "EXTERN.h"
#include "perl.h"
+
+#ifdef PERLIO_LAYERS
+
#include "perliol.h"
#define NO_XSLOCKS
#include "XSUB.h"
+
/* Bottom-most level for Win32 case */
typedef struct
@@ -359,5 +363,5 @@ PerlIO_funcs PerlIO_win32 = {
NULL, /* set_ptrcnt */
};
-
+#endif