This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
avoid leaking static local_patches unless patchlevel.h is
[perl5.git] / perl.c
diff --git a/perl.c b/perl.c
index 3c3a629..ed88bc3 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -14,6 +14,7 @@
 #include "EXTERN.h"
 #define PERL_IN_PERL_C
 #include "perl.h"
+#include "patchlevel.h"                        /* for local_patches */
 
 /* XXX If this causes problems, set i_unistd=undef in the hint file.  */
 #ifdef I_UNISTD