Preferring Linux include file sys/xattr.h over attr/attr.h

This commit is contained in:
2018-05-18 17:20:24 +02:00
parent c5a9cc56e3
commit 848e039e6d
2 changed files with 60 additions and 5 deletions

View File

@ -7,7 +7,7 @@
To be included by aaip_0_2.c for Linux
Copyright (c) 2009 - 2016 Thomas Schmitt, libburnia project, GPLv2+
Copyright (c) 2009 - 2018 Thomas Schmitt, libburnia project, GPLv2+
*/
@ -30,8 +30,12 @@
#endif
#ifdef Libisofs_with_aaip_xattR
#ifdef Libisofs_with_sys_xattR
#include <sys/xattr.h>
#else
#include <attr/xattr.h>
#endif
#endif
/* ------------------------------ Inquiry --------------------------------- */