From: Bin Meng Date: Mon, 19 Dec 2022 10:20:05 +0000 (+0800) Subject: qemu/xattr.h: Exclude for Windows X-Git-Tag: pull-xen-20230306~87^2~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6888af46c7849cac8341a32a9da6291270550c5e;p=people%2Faperard%2Fqemu-dm.git qemu/xattr.h: Exclude for Windows Windows does not have . Signed-off-by: Bin Meng Message-Id: <20221219102022.2167736-2-bin.meng@windriver.com> Signed-off-by: Christian Schoenebeck --- 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 +# ifndef CONFIG_WIN32 +# include +# endif #endif #endif