Skip to content

Commit

Permalink
Get rid of compilation warning on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Nov 24, 2023
1 parent e8c2c40 commit 7e194bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion System/Random/MWC/SeedSource.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ import Foreign.Marshal.Array (peekArray)
#if defined(mingw32_HOST_OS)
import Foreign.Ptr
import Foreign.C.Types
#else
import System.IO (IOMode(..), hGetBuf, withBinaryFile)
#endif
import System.CPUTime (cpuTimePrecision, getCPUTime)
import System.IO (IOMode(..), hGetBuf, withBinaryFile)

-- Acquire seed from current time. This is horrible fallback for
-- Windows system.
Expand Down

0 comments on commit 7e194bf

Please sign in to comment.