qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 02/18] #include <sys/vfs.h> is not available und


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 02/18] #include <sys/vfs.h> is not available under Windows.
Date: Mon, 6 Nov 2017 15:27:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 29/09/2017 13:13, Michael Fritscher wrote:
> Signed-off-by: Michael Fritscher <address@hidden>
> ---
>  fsdev/file-op-9p.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h
> index 474c79d003..3fc7b0532f 100644
> --- a/fsdev/file-op-9p.h
> +++ b/fsdev/file-op-9p.h
> @@ -16,7 +16,9 @@
>  
>  #include <dirent.h>
>  #include <utime.h>
> -#include <sys/vfs.h>
> +#ifndef _WIN32
> +# include <sys/vfs.h>
> +#endif
>  #include "qemu-fsdev-throttle.h"
>  
>  #define SM_LOCAL_MODE_BITS    0600
> 

Like patch 4, this only makes sense in the same patch that stops using
function from /usr/include/sys/vfs.h.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]