summaryrefslogtreecommitdiff
path: root/iperlsys.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2015-09-01 15:17:08 +1000
committerTony Cook <tony@develop-help.com>2015-09-01 15:17:08 +1000
commit4d0c87b775ebcde1bb74a58c8db664a073fb9310 (patch)
tree4051ad57fe409e8c1259875d8d8d0656d62fb610 /iperlsys.h
parente4105e89df44935f2a4363ac725ff11e07de35d8 (diff)
downloadperl-4d0c87b775ebcde1bb74a58c8db664a073fb9310.tar.gz
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
Diffstat (limited to 'iperlsys.h')
-rw-r--r--iperlsys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iperlsys.h b/iperlsys.h
index 57160e0804..3aee24f7ce 100644
--- a/iperlsys.h
+++ b/iperlsys.h
@@ -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;