]> Sergey Matveev's repositories - public-inbox.git/commitdiff
githttpbackend: require IO::File explicitly
authorEric Wong <e@80x24.org>
Mon, 25 Apr 2016 10:11:10 +0000 (10:11 +0000)
committerEric Wong <e@80x24.org>
Mon, 25 Apr 2016 10:11:10 +0000 (10:11 +0000)
This is used all over the place, but may not be in the future,
so ensure we explicitly load it ourselves.

lib/PublicInbox/GitHTTPBackend.pm

index 50bb4331f5aaaa017b21d846fdbd040d32d0ca79..2c81d4c8d8ecf864d76cc8ceb1b4820d54ef7b1d 100644 (file)
@@ -7,6 +7,7 @@ package PublicInbox::GitHTTPBackend;
 use strict;
 use warnings;
 use Fcntl qw(:seek);
+use IO::File;
 use PublicInbox::Spawn qw(spawn);
 
 # n.b. serving "description" and "cloneurl" should be innocuous enough to