purple: work around broken dbus-server.h
commit533556a255fb5da58b7ece9c0a470a6b9809d5c7
authorStefan Becker <chemobejk@gmail.com>
Fri, 11 Aug 2017 12:13:12 +0000 (11 15:13 +0300)
committerStefan Becker <chemobejk@gmail.com>
Fri, 11 Aug 2017 12:13:12 +0000 (11 15:13 +0300)
tree2c948e4176ff70b2e1335f4633175ebf7bc6a416
parentda397e8f18628a7f324cc0324c7fec9c88baed1a
purple: work around broken dbus-server.h

Some versions of libpurple have a broken dbus-server.h that redefines
DBUS_EXPORT unconditionally. On some systems that leads to a build
failure with the real DBUS_EXPORT definition in the D-Bus headers.

Work around this issue by first including dbus/dbus.h and then
undefining DBUS_EXPORT before including dbus-server.h.
src/purple/purple-dbus-bindings.c
src/purple/purple-dbus.h