]> xenbits.xensource.com Git - libvirt.git/commit
build: fix mingw build of vbox
authorEric Blake <eblake@redhat.com>
Thu, 2 May 2013 21:53:27 +0000 (15:53 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 2 May 2013 21:53:27 +0000 (15:53 -0600)
commit4f8e2bacc5b8c8920a0fa8717ac2b276cca7eb9f
treed01b7d2e2e1b4baf6c7f70bf98a6c82057e82003
parent05f79a3894a04b305c18993bedf117c6b6e41d52
build: fix mingw build of vbox

More fallout from commit 7c9a2d88 dropping too many headers.  Fixes:

In file included from ../../src/vbox/vbox_glue.c:26:0:
../../src/vbox/vbox_MSCOMGlue.c: In function 'vboxLookupVersionInRegistry':
../../src/vbox/vbox_MSCOMGlue.c:435:5: error: implicit declaration of function 'virParseVersionString' [-Werror=implicit-function-declaration]
...
../../src/vbox/vbox_driver.c: In function 'vboxConnectOpen':
../../src/vbox/vbox_driver.c:147:5: error: implicit declaration of function 'getuid' [-Werror=implicit-function-declaration]
../../src/vbox/vbox_driver.c:147:5: error: nested extern declaration of 'getuid' [-Werror=nested-externs]

* src/vbox/vbox_MSCOMGlue.c (includes): Add missing includes.
* src/vbox/vbox_driver.c (includes): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/vbox/vbox_MSCOMGlue.c
src/vbox/vbox_driver.c