Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #15 from mvv/base-4.6-fix
Browse files Browse the repository at this point in the history
Fixed build with base-4.6
  • Loading branch information
depressed-pho committed Jul 21, 2012
2 parents 8e7751c + 5b00e58 commit 2c44732
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions OpenSSL/PEM.hsc
Expand Up @@ -55,7 +55,9 @@ import OpenSSL.Utils
import OpenSSL.X509 import OpenSSL.X509
import OpenSSL.X509.Request import OpenSSL.X509.Request
import OpenSSL.X509.Revocation import OpenSSL.X509.Revocation
#if !MIN_VERSION_base(4,6,0)
import Prelude hiding (catch) import Prelude hiding (catch)
#endif
import System.IO import System.IO




Expand Down
6 changes: 5 additions & 1 deletion OpenSSL/Session.hsc
Expand Up @@ -58,7 +58,11 @@ module OpenSSL.Session


#include "openssl/ssl.h" #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 (threadWaitWrite, threadWaitRead, runInBoundThread)
import Control.Concurrent.QSem import Control.Concurrent.QSem
import Control.Exception import Control.Exception
Expand Down

0 comments on commit 2c44732

Please sign in to comment.