Fix build against attr >= 2.4.48
Brought to you by:
hvhaugwitz,
rvdb
Drop obsolete include that was removed by attr upstream in attr-2.4.48.
See http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38
Updated patch to preserve compatibility with older attr versions. Please use this one.
Last edit: Coacher 2018-03-08
Is the inclusion of attr/attributes.h really needed, if the definition of ENOATTR is added anyway?
Yes, if attr devs will ever change ENOATTR definition, aide will get it automatically.
Manual redefinition is just for backward-compat as outlined in the commit message.
fixed (commit eecd179)