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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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)