summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-27 13:03:08 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-27 13:03:08 +0000
commit73f0cc2d7df5b14dbea315ed9c6a2e3ae1fb82e6 (patch)
treeec6577f02afb027cd6a10896376a52b4589f746b
parent741df71a3ace824193f42331175668f1fa76b406 (diff)
downloadperl-73f0cc2d7df5b14dbea315ed9c6a2e3ae1fb82e6.tar.gz
ensure 'make regen_headers' even without perl installed
(suggested by Ilya Zakharevich) p4raw-id: //depot/perl@2321
-rw-r--r--bytecode.pl3
-rw-r--r--warning.pl3
2 files changed, 6 insertions, 0 deletions
diff --git a/bytecode.pl b/bytecode.pl
index cc096ac1bc..e2a2f6c958 100644
--- a/bytecode.pl
+++ b/bytecode.pl
@@ -1,3 +1,6 @@
+BEGIN {
+ push @INC, './lib';
+}
use strict;
my %alias_to = (
U32 => [qw(PADOFFSET STRLEN)],
diff --git a/warning.pl b/warning.pl
index 86faf9625c..06e37f2302 100644
--- a/warning.pl
+++ b/warning.pl
@@ -1,5 +1,8 @@
#!/usr/bin/perl
+BEGIN {
+ push @INC, './lib';
+}
use strict ;
sub DEFAULT_ON () { 1 }