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:
Peter Hutterer 2014-10-31 09:24:50 +10:00
parent 25315ee555
commit adee4f239b
2 changed files with 5 additions and 1 deletions

View File

@ -103,4 +103,8 @@ if LNXACPI
XORG_CFLAGS += -DHAVE_ACPI
endif
if NEED_DBUS
XORG_CFLAGS += $(DBUS_CFLAGS)
endif
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)

View File

@ -27,7 +27,7 @@
#define DBUS_CORE_H
#ifdef NEED_DBUS
typedef struct DBusConnection DBusConnection;
#include <dbus/dbus.h>
typedef void (*dbus_core_connect_hook) (DBusConnection * connection,
void *data);