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>
This commit is contained in:
parent
c63979fdd8
commit
e4f6d88752
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <attr/xattr.h>
|
||||
#include <sys/xattr.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user