[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 04/18] Don't include sys/resource.h on Windows.
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 04/18] Don't include sys/resource.h on Windows. |
Date: |
Mon, 6 Nov 2017 15:27:04 +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>
> ---
> hw/9pfs/9p.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h
> index d1cfeaf10e..c2dd782620 100644
> --- a/hw/9pfs/9p.h
> +++ b/hw/9pfs/9p.h
> @@ -3,7 +3,9 @@
>
> #include <dirent.h>
> #include <utime.h>
> -#include <sys/resource.h>
> +#ifndef _WIN32
> +# include <sys/resource.h>
> +#endif
> #include "fsdev/file-op-9p.h"
> #include "fsdev/9p-iov-marshal.h"
> #include "qemu/thread.h"
>
This is probably related to patch 14, and should be included in there.
Paolo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 04/18] Don't include sys/resource.h on Windows.,
Paolo Bonzini <=