diff options
Diffstat (limited to 'config.tests/unix/dbus/dbus.cpp')
-rw-r--r-- | config.tests/unix/dbus/dbus.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config.tests/unix/dbus/dbus.cpp b/config.tests/unix/dbus/dbus.cpp new file mode 100644 index 0000000..15ed45f --- /dev/null +++ b/config.tests/unix/dbus/dbus.cpp @@ -0,0 +1,12 @@ +#define DBUS_API_SUBJECT_TO_CHANGE +#include <dbus/dbus.h> + +#if DBUS_MAJOR_PROTOCOL_VERSION < 1 +#error Needs at least dbus version 1 +#endif + +int main(int, char **) +{ + dbus_shutdown(); + return 0; +} |