Skip to content
Browse files

Fixed build with base-4.6

  • Loading branch information...
1 parent 8e7751c commit 5b00e58d8c03e3a747e7524811bada503d9950a9 @mvv mvv committed Jul 6, 2012
Showing with 7 additions and 1 deletion.
  1. +2 −0 OpenSSL/PEM.hsc
  2. +5 −1 OpenSSL/Session.hsc
View
2 OpenSSL/PEM.hsc
@@ -55,7 +55,9 @@ import OpenSSL.Utils
import OpenSSL.X509
import OpenSSL.X509.Request
import OpenSSL.X509.Revocation
+#if !MIN_VERSION_base(4,6,0)
import Prelude hiding (catch)
+#endif
import System.IO
View
6 OpenSSL/Session.hsc
@@ -58,7 +58,11 @@ module OpenSSL.Session
#include "openssl/ssl.h"
-import Prelude hiding (catch, read, ioError, mapM, mapM_)
+import Prelude hiding (
+#if !MIN_VERSION_base(4,6,0)
+ catch,
+#endif
+ read, ioError, mapM, mapM_)
import Control.Concurrent (threadWaitWrite, threadWaitRead, runInBoundThread)
import Control.Concurrent.QSem
import Control.Exception

0 comments on commit 5b00e58

Please sign in to comment.
Something went wrong with that request. Please try again.