diff options
author | joe <joe@jerkface.net> | 2016-08-20 02:19:53 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2016-08-20 02:19:53 -0400 |
commit | 6db720421a4fbfda957e7199464f16b6f261b40a (patch) | |
tree | 512eac457fd924caaf0ff88b4b43710d553a42fd /src/Network/BitTorrent/Address.hs | |
parent | 0ab23a36da3949fb92a1a251a13854fcfb4be610 (diff) |
Build fixes.
Diffstat (limited to 'src/Network/BitTorrent/Address.hs')
-rw-r--r-- | src/Network/BitTorrent/Address.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/Address.hs b/src/Network/BitTorrent/Address.hs index 9f9340d1..8dbe1583 100644 --- a/src/Network/BitTorrent/Address.hs +++ b/src/Network/BitTorrent/Address.hs | |||
@@ -9,6 +9,7 @@ | |||
9 | -- | 9 | -- |
10 | -- Peer and Node addresses. | 10 | -- Peer and Node addresses. |
11 | -- | 11 | -- |
12 | {-# LANGUAGE CPP #-} | ||
12 | {-# LANGUAGE FlexibleInstances #-} | 13 | {-# LANGUAGE FlexibleInstances #-} |
13 | {-# LANGUAGE RecordWildCards #-} | 14 | {-# LANGUAGE RecordWildCards #-} |
14 | {-# LANGUAGE StandaloneDeriving #-} | 15 | {-# LANGUAGE StandaloneDeriving #-} |
@@ -111,7 +112,9 @@ import Network.HTTP.Types.QueryLike | |||
111 | import Network.Socket | 112 | import Network.Socket |
112 | import Text.PrettyPrint as PP hiding ((<>)) | 113 | import Text.PrettyPrint as PP hiding ((<>)) |
113 | import Text.PrettyPrint.HughesPJClass hiding ((<>),($$)) | 114 | import Text.PrettyPrint.HughesPJClass hiding ((<>),($$)) |
115 | #if !MIN_VERSION_time(1,5,0) | ||
114 | import System.Locale (defaultTimeLocale) | 116 | import System.Locale (defaultTimeLocale) |
117 | #endif | ||
115 | import System.Entropy | 118 | import System.Entropy |
116 | 119 | ||
117 | -- import Paths_bittorrent (version) | 120 | -- import Paths_bittorrent (version) |