diff options
Diffstat (limited to 'ext/IO')
-rw-r--r-- | ext/IO/lib/IO/Seekable.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/IO/lib/IO/Seekable.pm b/ext/IO/lib/IO/Seekable.pm index bfcfc139aa..e09d48b9bf 100644 --- a/ext/IO/lib/IO/Seekable.pm +++ b/ext/IO/lib/IO/Seekable.pm @@ -48,7 +48,10 @@ require 5.005_64; use Carp; use strict; our($VERSION, @EXPORT, @ISA); -use IO::Handle qw(SEEK_SET SEEK_CUR SEEK_END); +use IO::Handle (); +# XXX we can't get these from IO::Handle or we'll get prototype +# mismatch warnings on C<use POSIX; use IO::File;> :-( +use Fcntl qw(SEEK_SET SEEK_CUR SEEK_END); require Exporter; @EXPORT = qw(SEEK_SET SEEK_CUR SEEK_END); |