aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Alexander Chernyakhovsky <achernya@mit.edu>2017-03-26 17:16:37 -0400
committerGravatar Alexander Chernyakhovsky <achernya@mit.edu>2017-03-26 17:16:37 -0400
commit5ee542c26c5d01404f63b8ac23b3e41c3bce863c (patch)
treecdbd91a403d2583c7f1057fe058bd710ab827215 /scripts
parentfafcdc27c59fa199d34b5dd3ce036a4632cb68af (diff)
Restore perl 5.8.8 support
This is as variant of the patch I had in EL5 for a while, but forgot to upstream. It turns out that the changes we made to support 5.10.1 are actually sufficient for 5.8.8 if we remove unused imports, so remove them.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mosh.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mosh.pl b/scripts/mosh.pl
index 25745be..e6c890e 100755
--- a/scripts/mosh.pl
+++ b/scripts/mosh.pl
@@ -30,14 +30,14 @@
# this exception statement from all source files in the program, then
# also delete it here.
-use 5.10.0;
+use 5.8.8;
use warnings;
use strict;
use Getopt::Long;
use IO::Socket;
use Text::ParseWords;
-use Socket qw( IPPROTO_IP IPPROTO_IPV6 IPPROTO_TCP IPPROTO_UDP );
+use Socket qw(IPPROTO_TCP);
use Errno qw(EINTR);
use POSIX qw(_exit);