summaryrefslogtreecommitdiff
path: root/lib/Vyatta/ioctl.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/ioctl.pm')
-rw-r--r--lib/Vyatta/ioctl.pm5
1 files changed, 4 insertions, 1 deletions
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);