summaryrefslogtreecommitdiff
path: root/iperlsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'iperlsys.h')
-rw-r--r--iperlsys.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/iperlsys.h b/iperlsys.h
index caca9df2d8..94e5fd614c 100644
--- a/iperlsys.h
+++ b/iperlsys.h
@@ -81,7 +81,9 @@ typedef Signal_t (*Sighandler_t) (int);
#if defined(PERL_IMPLICIT_SYS)
#ifndef PerlIO
-typedef struct _PerlIO PerlIO;
+typedef struct _PerlIO PerlIOl;
+typedef PerlIOl *PerlIO;
+#define PerlIO PerlIO
#endif
/* IPerlStdIO */
@@ -331,7 +333,8 @@ struct IPerlStdIOInfo
#endif
#ifndef PerlIO
-typedef struct _PerlIO PerlIO;
+typedef struct _PerlIO PerlIOl;
+typedef PerlIOl *PerlIO;
#define PerlIO PerlIO
#endif /* No PerlIO */