diff options
Diffstat (limited to 'src/Network/Tox/NodeId.hs')
-rw-r--r-- | src/Network/Tox/NodeId.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Network/Tox/NodeId.hs b/src/Network/Tox/NodeId.hs index f3013142..5eb3742e 100644 --- a/src/Network/Tox/NodeId.hs +++ b/src/Network/Tox/NodeId.hs | |||
@@ -59,7 +59,11 @@ import qualified Data.ByteString.Char8 as C8 | |||
59 | import Data.Char | 59 | import Data.Char |
60 | import Data.Data | 60 | import Data.Data |
61 | import Data.Hashable | 61 | import Data.Hashable |
62 | #if MIN_VERSION_iproute(1,7,4) | ||
63 | import Data.IP hiding (fromSockAddr) | ||
64 | #else | ||
62 | import Data.IP | 65 | import Data.IP |
66 | #endif | ||
63 | import Data.List | 67 | import Data.List |
64 | import Data.Maybe | 68 | import Data.Maybe |
65 | import Data.Serialize as S | 69 | import Data.Serialize as S |