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:13:37 +0100
commit34197bc815fcf05cf7243ddf5a829be65f0117d5 (patch)
tree439dfa6763ba3e752c645bd2c3d866212364e9b1
parent85899eccfa7d7c7cef83d2ddb0ef6a5965ffb2c5 (diff)
downloadpaludis-34197bc815fcf05cf7243ddf5a829be65f0117d5.tar.gz
paludis-34197bc815fcf05cf7243ddf5a829be65f0117d5.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 f043bdc..50588ff 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 ab913d6..6f85310 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;