xfree86: drop double-typedef of DBusConnection
Just include dbus.h, it's been typedef'd there since 2003. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
25315ee555
commit
adee4f239b
|
@ -103,4 +103,8 @@ if LNXACPI
|
||||||
XORG_CFLAGS += -DHAVE_ACPI
|
XORG_CFLAGS += -DHAVE_ACPI
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if NEED_DBUS
|
||||||
|
XORG_CFLAGS += $(DBUS_CFLAGS)
|
||||||
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define DBUS_CORE_H
|
#define DBUS_CORE_H
|
||||||
|
|
||||||
#ifdef NEED_DBUS
|
#ifdef NEED_DBUS
|
||||||
typedef struct DBusConnection DBusConnection;
|
#include <dbus/dbus.h>
|
||||||
|
|
||||||
typedef void (*dbus_core_connect_hook) (DBusConnection * connection,
|
typedef void (*dbus_core_connect_hook) (DBusConnection * connection,
|
||||||
void *data);
|
void *data);
|
||||||
|
|
Loading…
Reference in New Issue