diff --git a/cmd_migrate.c b/cmd_migrate.c index 9523dbdd..497a4182 100644 --- a/cmd_migrate.c +++ b/cmd_migrate.c @@ -3,13 +3,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include #include #include diff --git a/include/uapi/linux/xattr.h b/include/uapi/linux/xattr.h index c95882b3..1590c49c 100644 --- a/include/uapi/linux/xattr.h +++ b/include/uapi/linux/xattr.h @@ -13,8 +13,12 @@ #ifndef _UAPI_LINUX_XATTR_H #define _UAPI_LINUX_XATTR_H +#if __UAPI_DEF_XATTR +#define __USE_KERNEL_XATTR_DEFS + #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */ #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ +#endif /* Namespaces */ #define XATTR_OS2_PREFIX "os2."