kazu-yamamoto/simple-sendfile — pull request #11 by BardurArantsson (2012-12-07 17:03:11+00:00)
Title: Insert missing getErrno call

This fixes a build problem on Linux:

$ cabal build
Building simple-sendfile-0.2.9...
Preprocessing library simple-sendfile-0.2.9...
[1 of 3] Compiling Network.Sendfile.Types ( Network/Sendfile/Types.hs, dist_cqrs/build/Network/Sendfile/Types.o )
[2 of 3] Compiling Network.Sendfile.Linux ( dist_cqrs/build/Network/Sendfile/Linux.hs, dist_cqrs/build/Network/Sendfile/Linux.o )

Network/Sendfile/Linux.hsc:107:15: Not in scope: `errno'