diff --git a/glnx-fdio.h b/glnx-fdio.h index 19f938c719f868cf1cfba82f4701572accb48a0c..5765a02c547b421510868fe6bc92e8b4051d7e94 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 410c722f2fef224088f55ce19d935d6cfa89008b..a566a2249051d1856a1f7b84ed4b6ae699fe8e91 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