prevent warning noise on mingw-64 builds

The following was produced for every non-miniperl object built,
including for XS modules and the test builds done by
ExtUtils::MakeMaker etc

..\iperlsys.h:640:66: warning: 'struct utimbuf' declared inside parameter list
 typedef int  (*LPLIOUtime)(struct IPerlLIO*, const char*, struct utimbuf*);
                                                                  ^
..\iperlsys.h:640:66: warning: its scope is only this definition or declaration,
 which is probably not what you want
This commit is contained in:
Tony Cook 2015-09-01 15:17:08 +10:00
parent e4105e89df
commit 4d0c87b775

View File

@ -600,6 +600,8 @@ struct IPerlEnvInfo
#if defined(PERL_IMPLICIT_SYS)
struct utimbuf; /* prevent gcc warning about the use below */
/* IPerlLIO */
struct IPerlLIO;
struct IPerlLIOInfo;