diff options
-rw-r--r-- | lib/replace/system/filesys.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h index 1a8cb68103d..afde4eacb39 100644 --- a/lib/replace/system/filesys.h +++ b/lib/replace/system/filesys.h @@ -107,17 +107,15 @@ #include <sys/uio.h> #endif -#if defined(HAVE_SYS_ATTRIBUTES_H) -#include <sys/attributes.h> -#elif defined(HAVE_ATTR_ATTRIBUTES_H) -#include <attr/attributes.h> -#endif - /* mutually exclusive (SuSE 8.2) */ #if defined(HAVE_ATTR_XATTR_H) #include <attr/xattr.h> #elif defined(HAVE_SYS_XATTR_H) #include <sys/xattr.h> +#elif defined(HAVE_SYS_ATTRIBUTES_H) +#include <sys/attributes.h> +#elif defined(HAVE_ATTR_ATTRIBUTES_H) +#include <attr/attributes.h> #endif #ifdef HAVE_SYS_EA_H |