summary refs log blame commit diff
path: root/pkgs/development/haskell-modules/patches/xattr-fix-build.patch
blob: 4b4f370b17f224d38f9c40f8669611b31fad9648 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                
diff --git a/System/Xattr.hsc b/System/Xattr.hsc
index adaf9cb..9b49996 100644
--- a/System/Xattr.hsc
+++ b/System/Xattr.hsc
@@ -45,11 +45,7 @@ module System.Xattr
     where
 
 #include <sys/types.h>
-#ifdef __APPLE__
 #include <sys/xattr.h>
-#else
-#include <attr/xattr.h>
-#endif
 
 import Data.Functor ((<$>))
 import Foreign.C