diff --git a/network.cabal b/network.cabal index e9962ea0..54149301 100644 --- a/network.cabal +++ b/network.cabal @@ -111,6 +111,8 @@ library if os(solaris) extra-libraries: nsl, socket + cpp-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 + cc-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 if os(windows) other-modules: