diff --git a/network.cabal b/network.cabal index e3042f83..aa79bb43 100644 --- a/network.cabal +++ b/network.cabal @@ -122,8 +122,12 @@ library default-language: Haskell2010 include-dirs: include - includes: HsNet.h HsNetDef.h alignment.h win32defs.h afunix_compat.h - install-includes: HsNet.h HsNetDef.h alignment.h win32defs.h afunix_compat.h + includes: HsNet.h HsNetDef.h alignment.h win32defs.h + install-includes: HsNet.h HsNetDef.h alignment.h win32defs.h + if os(windows) + includes: afunix_compat.h + install-includes: afunix_compat.h + ghc-options: -Wall -fwarn-tabs build-depends: base >=4.9 && <5,