[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 01/17] qemu/xattr.h: Exclude <sys/xattr.h> for Windows
From: |
Bin Meng |
Subject: |
[PATCH v3 01/17] qemu/xattr.h: Exclude <sys/xattr.h> for Windows |
Date: |
Mon, 19 Dec 2022 18:20:05 +0800 |
Windows does not have <sys/xattr.h>.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
(no changes since v1)
include/qemu/xattr.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/qemu/xattr.h b/include/qemu/xattr.h
index f1d0f7be74..b08a934acc 100644
--- 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
--
2.25.1
- [PATCH v3 16/17] tests/qtest: virtio-9p-test: Adapt the case for win32, (continued)
- [PATCH v3 16/17] tests/qtest: virtio-9p-test: Adapt the case for win32, Bin Meng, 2022/12/19
- [PATCH v3 15/17] hw/9pfs: Update synth fs driver for Windows, Bin Meng, 2022/12/19
- [PATCH v3 05/17] hw/9pfs: Implement Windows specific utilities functions for 9pfs, Bin Meng, 2022/12/19
- [PATCH v3 04/17] hw/9pfs: Add missing definitions for Windows, Bin Meng, 2022/12/19
- [PATCH v3 07/17] hw/9pfs: Support getting current directory offset for Windows, Bin Meng, 2022/12/19
- [PATCH v3 06/17] hw/9pfs: Update the local fs driver to support Windows, Bin Meng, 2022/12/19
- [PATCH v3 09/17] hw/9pfs: Add a helper qemu_stat_blksize(), Bin Meng, 2022/12/19
- [PATCH v3 17/17] meson.build: Turn on virtfs for Windows, Bin Meng, 2022/12/19
- [PATCH v3 01/17] qemu/xattr.h: Exclude <sys/xattr.h> for Windows,
Bin Meng <=
- [PATCH v3 10/17] hw/9pfs: Disable unsupported flags and features for Windows, Bin Meng, 2022/12/19
- [PATCH v3 11/17] hw/9pfs: Update v9fs_set_fd_limit() for Windows, Bin Meng, 2022/12/19
- [PATCH v3 13/17] hw/9pfs: Translate Windows errno to Linux value, Bin Meng, 2022/12/19
- [PATCH v3 03/17] hw/9pfs: Replace the direct call to xxxat() APIs with a wrapper, Bin Meng, 2022/12/19
- [PATCH v3 14/17] fsdev: Disable proxy fs driver on Windows, Bin Meng, 2022/12/19
- [PATCH v3 12/17] hw/9pfs: Add Linux error number definition, Bin Meng, 2022/12/19
- Re: [PATCH v3 00/17] hw/9pfs: Add 9pfs support for Windows, Christian Schoenebeck, 2022/12/21