Fix compilation failure on Windows #321

This commit is contained in:
Michael Snoyman 2015-01-05 14:23:48 +02:00
parent 373114508e
commit e947f4c6b0
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## 3.0.4.1
Fix compilation failure on Windows [#321](https://github.com/yesodweb/wai/issues/321)
## 3.0.4
Add the `StreamFile` middleware.

View File

@ -10,7 +10,7 @@ import Network.Wai (responseStream)
import Network.Wai.Internal
import Network.Wai (Middleware, responseToStream)
import qualified Data.ByteString.Char8 as S8
import System.Posix
import System.PosixCompat (getFileStatus, fileSize, FileOffset)
-- |Convert ResponseFile type responses into ResponseStream type
--

View File

@ -1,5 +1,5 @@
Name: wai-extra
Version: 3.0.4
Version: 3.0.4.1
Synopsis: Provides some basic WAI handlers and middleware.
description: API docs and the README are available at <http://www.stackage.org/package/wai-extra>.
License: MIT
@ -45,6 +45,7 @@ Library
, lifted-base >= 0.1.2
, deepseq
, streaming-commons
, unix-compat
if os(windows)
cpp-options: -DWINDOWS