qemu/xattr.h: Exclude <sys/xattr.h> for Windows

Windows does not have <sys/xattr.h>.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20221219102022.2167736-2-bin.meng@windriver.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
This commit is contained in:
Bin Meng 2022-12-19 18:20:05 +08:00 committed by Christian Schoenebeck
parent 818e42fe2f
commit 6888af46c7

View File

@ -25,7 +25,9 @@
# if !defined(ENOATTR)
# define ENOATTR ENODATA
# endif
# include <sys/xattr.h>
# ifndef CONFIG_WIN32
# include <sys/xattr.h>
# endif
#endif
#endif