diff options
-rwxr-xr-x | lib/Vyatta/Misc.pm | 1 | ||||
-rw-r--r-- | lib/Vyatta/ioctl.pm | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm index f44dec5..fa3131c 100755 --- a/lib/Vyatta/Misc.pm +++ b/lib/Vyatta/Misc.pm @@ -21,7 +21,6 @@ package Vyatta::Misc; use strict; -use Vyatta::ioctl; require Exporter; diff --git a/lib/Vyatta/ioctl.pm b/lib/Vyatta/ioctl.pm index 8ed8b93..7c745c3 100644 --- a/lib/Vyatta/ioctl.pm +++ b/lib/Vyatta/ioctl.pm @@ -24,7 +24,10 @@ use warnings; use Socket; use Socket6; -require 'sys/ioctl.ph'; +{ + local $^W = 0; + require 'sys/ioctl.ph'; +} our @EXPORT = qw(get_terminal_size get_interface_flags); use base qw(Exporter); |