summaryrefslogtreecommitdiff
path: root/package/libmpdclient/patches/patch-src_sync_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-18 11:06:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-18 11:06:21 +0200
commit88a4f28beb2a19ea95c0427eb558089ec055792c (patch)
tree136e5535ae68e59c25b1b4aeec078ce76e51095f /package/libmpdclient/patches/patch-src_sync_c
parent83ca4ceb840ffea691caf036c2f62800dea4015f (diff)
fix musl compile
Diffstat (limited to 'package/libmpdclient/patches/patch-src_sync_c')
-rw-r--r--package/libmpdclient/patches/patch-src_sync_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libmpdclient/patches/patch-src_sync_c b/package/libmpdclient/patches/patch-src_sync_c
new file mode 100644
index 000000000..b9c5ec10d
--- /dev/null
+++ b/package/libmpdclient/patches/patch-src_sync_c
@@ -0,0 +1,11 @@
+--- libmpdclient-2.8.orig/src/sync.c 2010-01-01 15:17:56.000000000 +0100
++++ libmpdclient-2.8/src/sync.c 2013-09-18 11:04:49.000000000 +0200
+@@ -34,6 +34,8 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <time.h>
++#include <sys/select.h>
+ #include <unistd.h>
+
+ static bool