Commit adee4f23 authored by Peter Hutterer's avatar Peter Hutterer

xfree86: drop double-typedef of DBusConnection

Just include dbus.h, it's been typedef'd there since 2003.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 25315ee5
......@@ -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)
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment