mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-27 15:05:17 +00:00
build: fix build when not using dbus
Commit c0e7022 breaks on a machine that lacks dbus headers: In file included from util/virdbus.c:24:0: util/virdbuspriv.h:31:3: error: unknown type name 'dbus_int16_t' * src/util/virdbuspriv.h (DBusBasicValue): Only provide fallback when dbus is compiled. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
0d5168392f
commit
be90aa0026
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
# include "virdbus.h"
|
# include "virdbus.h"
|
||||||
|
|
||||||
# if !HAVE_DBUSBASICVALUE
|
# if defined(WITH_DBUS) && !HAVE_DBUSBASICVALUE
|
||||||
/* Copied (and simplified) from dbus 1.6.12, for use with older dbus headers */
|
/* Copied (and simplified) from dbus 1.6.12, for use with older dbus headers */
|
||||||
typedef union
|
typedef union
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user