summaryrefslogtreecommitdiff
path: root/tests/mod-proxy.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mod-proxy.t')
-rwxr-xr-xtests/mod-proxy.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/mod-proxy.t b/tests/mod-proxy.t
index a1abce16..ac1db0f3 100755
--- a/tests/mod-proxy.t
+++ b/tests/mod-proxy.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;