fix build warning

This commit is contained in:
Joey Hess 2016-12-10 11:41:38 -04:00
parent effd50d918
commit b72352e1b1
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -52,6 +52,7 @@ import Utility.Url (checkBoth, managerSettings, closeManager)
#if MIN_VERSION_http_client(0,5,0)
import Network.HTTP.Client (responseTimeoutNone)
#else
responseTimeoutNone :: Maybe Int
responseTimeoutNone = Nothing
#endif