diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2018-07-17 07:32:31 -0400 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-07-18 11:05:27 +0000 |
commit | e4f6d887527a37eed34eea0fb9a3d68957a44e34 (patch) | |
tree | f6ce11377fcdf0472c6862716c5eddbe1d67a73d /extras | |
parent | c63979fdd8589483f242a8f450a130d269e907ed (diff) |
build/core: location of xattr.h
starting with libattr-devel-2.4.48-1 in Fedora 28 <attr/xattr.h> has
been removed from the package.
On Fedora, RHEL/CentOS, and SUSE, the glibc-headers package has provided
a near identical file, <sys/xattr.h>, in all the releases that we care
about.
On Debian, libc6-dev provides <sys/xattr.h> all the way back to 8/Jessie
and presumably all Ubuntu derivatives since then.
Note that on Debian the sys headers are installed in
/usr/include/$DEB_HOST_GNU_TYPE/sys/...
Change-Id: Id07c4b225bdaa6556bd54772604e75b8f346fb60
updates: bz#1193929
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/stripe-merge.c | 2 | ||||
-rw-r--r-- | extras/test/ld-preload-test/ld-preload-lib.c | 2 | ||||
-rw-r--r-- | extras/test/ld-preload-test/ld-preload-test.c | 2 | ||||
-rw-r--r-- | extras/test/open-fd-tests.c | 2 | ||||
-rw-r--r-- | extras/test/test-ffop.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/extras/stripe-merge.c b/extras/stripe-merge.c index 74bd47e303e..332690eea66 100644 --- a/extras/stripe-merge.c +++ b/extras/stripe-merge.c @@ -28,7 +28,7 @@ #include <stdint.h> #include <errno.h> #include <string.h> -#include <attr/xattr.h> +#include <sys/xattr.h> #include <fnmatch.h> #define ATTRNAME_STRIPE_INDEX "trusted.*.stripe-index" diff --git a/extras/test/ld-preload-test/ld-preload-lib.c b/extras/test/ld-preload-test/ld-preload-lib.c index 179bf8b05d0..181b5c1e9c7 100644 --- a/extras/test/ld-preload-test/ld-preload-lib.c +++ b/extras/test/ld-preload-test/ld-preload-lib.c @@ -34,7 +34,7 @@ #include <fcntl.h> #include <sys/stat.h> #include <dirent.h> -#include <attr/xattr.h> +#include <sys/xattr.h> #include <sys/sendfile.h> /* Err number that is assigned to errno so that test application can diff --git a/extras/test/ld-preload-test/ld-preload-test.c b/extras/test/ld-preload-test/ld-preload-test.c index cf8dd52c3e1..46e3e0e4172 100644 --- a/extras/test/ld-preload-test/ld-preload-test.c +++ b/extras/test/ld-preload-test/ld-preload-test.c @@ -46,7 +46,7 @@ #include <sys/uio.h> #include <utime.h> #include <sys/time.h> -#include <attr/xattr.h> +#include <sys/xattr.h> #include <sys/sendfile.h> diff --git a/extras/test/open-fd-tests.c b/extras/test/open-fd-tests.c index 4184079d043..ab902697228 100644 --- a/extras/test/open-fd-tests.c +++ b/extras/test/open-fd-tests.c @@ -4,7 +4,7 @@ #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> -#include <attr/xattr.h> +#include <sys/xattr.h> #include <errno.h> #include <string.h> diff --git a/extras/test/test-ffop.c b/extras/test/test-ffop.c index 219dd6a2da2..67c6a0fb33d 100644 --- a/extras/test/test-ffop.c +++ b/extras/test/test-ffop.c @@ -3,7 +3,7 @@ #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> -#include <attr/xattr.h> +#include <sys/xattr.h> #include <errno.h> #include <string.h> #include <dirent.h> |