summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/request.t')
-rwxr-xr-xtests/request.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/request.t b/tests/request.t
index 97b76437..4ee9bbca 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -1,4 +1,10 @@
#! /usr/bin/perl -w
+BEGIN {
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s#/[^/]+$#/#;
+ unshift @INC, $srcdir;
+}
use strict;
use IO::Socket;