aports/testing/ell/musl-fixes-testsuite.patch
2019-02-28 10:59:23 +00:00

46 lines
1.1 KiB
Diff

diff --git a/unit/test-dbus-message-fds.c b/unit/test-dbus-message-fds.c
index d6d0b38..217bc70 100644
--- a/unit/test-dbus-message-fds.c
+++ b/unit/test-dbus-message-fds.c
@@ -37,6 +37,10 @@
#include <ell/ell.h>
#include "ell/dbus-private.h"
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
#define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
static pid_t dbus_daemon_pid = -1;
diff --git a/unit/test-dbus-properties.c b/unit/test-dbus-properties.c
index f91ba73..b6fa776 100644
--- a/unit/test-dbus-properties.c
+++ b/unit/test-dbus-properties.c
@@ -34,6 +34,10 @@
#include <ell/ell.h>
#include "ell/dbus-private.h"
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
#define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
static pid_t dbus_daemon_pid = -1;
diff --git a/unit/test-dbus.c b/unit/test-dbus.c
index d5bd8c5..f63a281 100644
--- a/unit/test-dbus.c
+++ b/unit/test-dbus.c
@@ -31,6 +31,10 @@
#include <ell/ell.h>
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
#define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
static pid_t dbus_daemon_pid = -1;