From: Eric Wong <e@80x24.org>
Date: Mon, 25 Apr 2016 10:11:10 +0000 (+0000)
Subject: githttpbackend: require IO::File explicitly
X-Git-Tag: v1.0.0~585
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=201235963e2f17d4638ccd700d1ed69410d9cbac;p=public-inbox.git

githttpbackend: require IO::File explicitly

This is used all over the place, but may not be in the future,
so ensure we explicitly load it ourselves.
---

diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm
index 50bb4331..2c81d4c8 100644
--- a/lib/PublicInbox/GitHTTPBackend.pm
+++ b/lib/PublicInbox/GitHTTPBackend.pm
@@ -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