typioca: 2.7.0 -> 2.8.0
[NixPkgs.git] / pkgs / development / haskell-modules / patches / xattr-fix-build.patch
blob4b4f370b17f224d38f9c40f8669611b31fad9648
1 diff --git a/System/Xattr.hsc b/System/Xattr.hsc
2 index adaf9cb..9b49996 100644
3 --- a/System/Xattr.hsc
4 +++ b/System/Xattr.hsc
5 @@ -45,11 +45,7 @@ module System.Xattr
6 where
8 #include <sys/types.h>
9 -#ifdef __APPLE__
10 #include <sys/xattr.h>
11 -#else
12 -#include <attr/xattr.h>
13 -#endif
15 import Data.Functor ((<$>))
16 import Foreign.C