]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix build without gnutls installed
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 9 Apr 2016 19:04:40 +0000 (22:04 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 9 Apr 2016 19:04:40 +0000 (22:04 +0300)
commitacb63aaf41f42f3da970c21636ec0dfc06abcda0
tree479097e9a11445a68d8370b75be3c94f10cbd4e7
parentec5b9331c43f695f75e73981614a0c43daaf742d
qemu: fix build without gnutls installed

Move including of gnutls/gnutls.h in qemu/qemu_domain.c under the
"ifdef WITH_GNUTLS" check because otherwise it fails like this:

  CC       qemu/libvirt_driver_qemu_impl_la-qemu_domain.lo
qemu/qemu_domain.c:50:10: fatal error: 'gnutls/gnutls.h' file not found

in case if gnutls is not installed on the system.
src/qemu/qemu_domain.c