summaryrefslogtreecommitdiff
path: root/examples/Example.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Example.hs')
-rw-r--r--examples/Example.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/Example.hs b/examples/Example.hs
index eb8e884..1e8a963 100644
--- a/examples/Example.hs
+++ b/examples/Example.hs
@@ -44,7 +44,11 @@ import Prelude.Unicode
-- This assumes usage of cabal with custom Setup.hs
--
+#if MIN_VERSION_Cabal(2,0,0)
+import PkgInfo
+#else
import PkgInfo_url_example_test
+#endif
-- | Specification of the authentication section of a URL.
--