On Sat, Mar 3, 2012 at 16:34, Nathan Whitehorn <nwhiteh...@freebsd.org> wrote: > Fix a missing header required to build on recent FreeBSD. > > Signed-off-by: Nathan Whitehorn <nwhiteh...@freebsd.org> > --- > 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 > >