Explorar o código

fix musl compile

Waldemar Brodkorb %!s(int64=11) %!d(string=hai) anos
pai
achega
88a4f28beb

+ 10 - 0
package/libmpdclient/patches/patch-src_socket_c

@@ -0,0 +1,10 @@
+--- libmpdclient-2.8.orig/src/socket.c	2010-01-01 15:17:56.000000000 +0100
++++ libmpdclient-2.8/src/socket.c	2013-09-18 11:03:04.000000000 +0200
+@@ -35,6 +35,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <sys/select.h>
+ #include <unistd.h>
+ 
+ #ifdef WIN32

+ 11 - 0
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

+ 10 - 0
package/libmpdclient/patches/patch-src_sync_c.orig

@@ -0,0 +1,10 @@
+--- 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:15.000000000 +0200
+@@ -34,6 +34,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <time.h>
+ #include <unistd.h>
+ 
+ static bool