[Qemu-devel] [PATCH buildfix] oslib-posix: Fix build on FreeBSD

2014-03-13 Thread Andreas Färber
Commit 10f5bff622cad71645e22c027b77ac31e51008ef (util: Split out exec_dir from os_find_datadir) moved code from os-posix.c to util/oslib-posix.c but forgot to move a FreeBSD #include alongside, needed for CTL_KERN among others. Cc: Fam Zheng f...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com

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

2014-03-13 Thread Peter Maydell
On 13 March 2014 13:27, Andreas Färber andreas.faer...@web.de wrote: Commit 10f5bff622cad71645e22c027b77ac31e51008ef (util: Split out exec_dir from os_find_datadir) moved code from os-posix.c to util/oslib-posix.c but forgot to move a FreeBSD #include alongside, needed for CTL_KERN among