summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
Diffstat (limited to 'Utility')
-rw-r--r--Utility/URI.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utility/URI.hs b/Utility/URI.hs
index 39c2f2289..240159609 100644
--- a/Utility/URI.hs
+++ b/Utility/URI.hs
@@ -10,9 +10,11 @@
module Utility.URI where
-- Old versions of network lacked an Ord for URI
+#ifdef VERSION_network
#if ! MIN_VERSION_network(2,4,0)
import Network.URI
instance Ord URI where
a `compare` b = show a `compare` show b
#endif
+#endif