diff options
Diffstat (limited to 'bus/test.c')
-rw-r--r-- | bus/test.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -27,6 +27,7 @@ #include "test.h" #include <dbus/dbus-internals.h> #include <dbus/dbus-list.h> +#include <dbus/dbus-sysdeps.h> /* The "debug client" watch/timeout handlers don't dispatch messages, * as we manually pull them in order to verify them. This is why they @@ -297,6 +298,7 @@ bus_context_new_test (const DBusString *test_data_dir, DBusString config_file; DBusString relative; BusContext *context; + DBusPipe pipe; if (!_dbus_string_init (&config_file)) { @@ -322,7 +324,8 @@ bus_context_new_test (const DBusString *test_data_dir, } dbus_error_init (&error); - context = bus_context_new (&config_file, FALSE, -1, -1, &error); + pipe = _dbus_pipe_init(-1); + context = bus_context_new (&config_file, FALSE, pipe, pipe, &error); if (context == NULL) { _DBUS_ASSERT_ERROR_IS_SET (&error); |