[libglnx] Switch to using glibc xattrs



commit d59a63e3e650aa75a055e4ede523790d60645435
Author: Colin Walters <walters verbum org>
Date:   Wed Apr 1 05:42:26 2015 -0400

    Switch to using glibc xattrs
    
    See https://github.com/GNOME/ostree/pull/78

 glnx-fdio.h   |    2 +-
 glnx-xattrs.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glnx-fdio.h b/glnx-fdio.h
index 19f938c..5765a02 100644
--- a/glnx-fdio.h
+++ b/glnx-fdio.h
@@ -25,7 +25,7 @@
 #include <dirent.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 /* From systemd/src/shared/util.h */
 /* When we include libgen.h because we need dirname() we immediately
  * undefine basename() since libgen.h defines it as a macro to the XDG
diff --git a/glnx-xattrs.h b/glnx-xattrs.h
index 410c722..a566a22 100644
--- a/glnx-xattrs.h
+++ b/glnx-xattrs.h
@@ -25,7 +25,7 @@
 #include <dirent.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 
 G_BEGIN_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]