qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Fix build on FreeBSD


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Fix build on FreeBSD
Date: Sat, 17 Mar 2012 16:20:03 +0000

On Sat, Mar 3, 2012 at 16:34, Nathan Whitehorn <address@hidden> wrote:
> Fix a missing header required to build on recent FreeBSD.
>
> Signed-off-by: Nathan Whitehorn <address@hidden>
> ---
>  os-posix.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/os-posix.c b/os-posix.c
> index dbf3b24..83b14a0 100644
> --- a/os-posix.c
> +++ b/os-posix.c
> @@ -45,6 +45,10 @@
>  #include <sys/syscall.h>
>  #endif

These and the below CONFIG_EVENTFD stuff does not exist in QEMU git
head. Please rebase.

>
> +#ifdef __FreeBSD__
> +#include <sys/sysctl.h>
> +#endif
> +
>  #ifdef CONFIG_EVENTFD
>  #include <sys/eventfd.h>
>  #endif
> --
> 1.7.9
>
>



reply via email to

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