summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 83f14793c2..89aa2db124 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -71,6 +71,9 @@
# define PERLIO_FUNCS_CAST(funcs) (funcs)
# endif
#endif
+#ifndef SvREFCNT_inc_void_NN
+# define SvREFCNT_inc_void_NN SvREFCNT_inc
+#endif
/*
* Work around clashes between Perl and Vim namespace. proto.h doesn't