aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ell/musl-fixes-testsuite.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ell/musl-fixes-testsuite.patch')
-rw-r--r--testing/ell/musl-fixes-testsuite.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/ell/musl-fixes-testsuite.patch b/testing/ell/musl-fixes-testsuite.patch
new file mode 100644
index 0000000000..5b951f50a8
--- /dev/null
+++ b/testing/ell/musl-fixes-testsuite.patch
@@ -0,0 +1,45 @@
+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;