summaryrefslogtreecommitdiff
path: root/t/lib/socket.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/socket.t')
-rwxr-xr-xt/lib/socket.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/socket.t b/t/lib/socket.t
index d5e1848a3e..7017a54bc7 100755
--- a/t/lib/socket.t
+++ b/t/lib/socket.t
@@ -2,7 +2,7 @@
BEGIN {
chdir 't' if -d 't';
- unshift @INC, '../lib' if -d '../lib';
+ @INC = '../lib';
require Config; import Config;
if ($Config{'extensions'} !~ /\bSocket\b/ &&
!(($^O eq 'VMS') && $Config{d_socket})) {