aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-21 11:13:37 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-21 11:20:49 +0100
commit617e8b1f66140e8ec3830d96024e69278c16525f (patch)
tree2c53e9917f9cf930af7c0f1e0ba49593a1b09974
parent50f39f9ce3395e21d349c12e5ffb7c14876c9ad2 (diff)
downloadpaludis-617e8b1f66140e8ec3830d96024e69278c16525f.tar.gz
paludis-617e8b1f66140e8ec3830d96024e69278c16525f.tar.xz
xattr is in sys/xattr.h these days
-rw-r--r--configure.ac3
-rw-r--r--paludis/merger.cc2
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index d2eaa5402..fa5c7b3bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,8 +140,7 @@ dnl }}}
dnl {{{ check for listxattrf etc
AC_MSG_CHECKING([for f*xattr function family])
AC_COMPILE_IFELSE([
-#include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
int main(int, char **)
{
diff --git a/paludis/merger.cc b/paludis/merger.cc
index ab913d61b..6f85310c3 100644
--- a/paludis/merger.cc
+++ b/paludis/merger.cc
@@ -44,7 +44,7 @@
#include "config.h"
#ifdef HAVE_XATTRS
-# include <attr/xattr.h>
+# include <sys/xattr.h>
#endif
using namespace paludis;