--- a/unit/test-dbus.c +++ b/unit/test-dbus.c @@ -32,6 +32,10 @@ #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus" +#ifndef WAIT_ANY +#define WAIT_ANY (-1) +#endif + static pid_t dbus_daemon_pid = -1; static void start_dbus_daemon(void) --- a/unit/test-dbus-message-fds.c +++ b/unit/test-dbus-message-fds.c @@ -37,6 +37,10 @@ #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus" +#ifndef WAIT_ANY +#define WAIT_ANY (-1) +#endif + static pid_t dbus_daemon_pid = -1; static bool start_dbus_daemon(void) --- a/unit/test-dbus-properties.c +++ b/unit/test-dbus-properties.c @@ -34,6 +34,10 @@ #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus" +#ifndef WAIT_ANY +#define WAIT_ANY (-1) +#endif + static pid_t dbus_daemon_pid = -1; static bool start_dbus_daemon(void)