summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/lib/ph.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/lib/ph.t b/t/lib/ph.t
index b225bf4b84..d0a48f6c51 100755
--- a/t/lib/ph.t
+++ b/t/lib/ph.t
@@ -4,8 +4,12 @@
# just socket.ph and pals.
# -- Kurt Starsinic <kstar@isinet.com>
-use lib '../lib';
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+use Config;
# All the constants which Socket.pm tries to make available:
my @possibly_defined = qw(