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>
master
Bin Meng 2022-12-19 18:20:05 +08:00 committed by Christian Schoenebeck
parent 818e42fe2f
commit 6888af46c7
1 changed files with 3 additions and 1 deletions

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