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:
parent
818e42fe2f
commit
6888af46c7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user