projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818e42f
)
qemu/xattr.h: Exclude <sys/xattr.h> for Windows
author
Bin Meng
<bin.meng@windriver.com>
Mon, 19 Dec 2022 10:20:05 +0000
(18:20 +0800)
committer
Christian Schoenebeck
<qemu_oss@crudebyte.com>
Fri, 23 Dec 2022 10:48:13 +0000
(11:48 +0100)
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>
include/qemu/xattr.h
patch
|
blob
|
history
diff --git
a/include/qemu/xattr.h
b/include/qemu/xattr.h
index f1d0f7be74bc39a429277fc06e65e6757ef87723..b08a934acc2db68d5f90c72e71148c898ef39431 100644
(file)
--- a/
include/qemu/xattr.h
+++ b/
include/qemu/xattr.h
@@
-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