Prevent unnecessary xattr warning by reordering header inclusion. (#22)
authorHolger Hoffstätte <holger@applied-asynchrony.com>
Fri, 19 Jun 2020 15:22:54 +0000 (17:22 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2020 15:22:54 +0000 (08:22 -0700)
commit0c13e1b3f856621b1a3cb70d5efcb500d51e1539
tree7549ea68bc68587c0cc12c42fa2c947b02acf664
parent9da38f2f99b467a0103cc34d0c075450b8159f13
Prevent unnecessary xattr warning by reordering header inclusion. (#22)

xattr headers have been provided by glibc (at least on Linux/glibc)
for many years now. Reorder the inclusion of xattr headers to
attempt compatibility/legacy after the common case.
This prevents the warning without changing compatibility to
non-glibc systems.

* Add dependency on lib/sysxattrs.h header in Makefile

Co-authored-by: Wayne Davison <wayne@opencoder.net>
Makefile.in
lib/sysxattrs.h