dbus: fix musl build
authorSteven Barth <steven@midlink.org>
Wed, 17 Dec 2014 09:34:38 +0000 (10:34 +0100)
committerSteven Barth <steven@midlink.org>
Wed, 17 Dec 2014 09:34:38 +0000 (10:34 +0100)
Signed-off-by: Steven Barth <steven@midlink.org>
utils/dbus/patches/100-fix-poll-select.patch [new file with mode: 0644]

diff --git a/utils/dbus/patches/100-fix-poll-select.patch b/utils/dbus/patches/100-fix-poll-select.patch
new file mode 100644 (file)
index 0000000..64f6525
--- /dev/null
@@ -0,0 +1,13 @@
+Index: dbus-1.9.4/tools/tool-common.c
+===================================================================
+--- dbus-1.9.4.orig/tools/tool-common.c
++++ dbus-1.9.4/tools/tool-common.c
+@@ -29,6 +29,8 @@
+ #include <string.h>
+ #include <time.h>
++#include <sys/select.h>
++
+ #ifdef DBUS_WIN
+ #include <windows.h>
+ #endif