diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-18 11:06:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-18 11:06:21 +0200 |
commit | 88a4f28beb2a19ea95c0427eb558089ec055792c (patch) | |
tree | 136e5535ae68e59c25b1b4aeec078ce76e51095f /package/libmpdclient | |
parent | 83ca4ceb840ffea691caf036c2f62800dea4015f (diff) |
fix musl compile
Diffstat (limited to 'package/libmpdclient')
-rw-r--r-- | package/libmpdclient/patches/patch-src_socket_c | 10 | ||||
-rw-r--r-- | package/libmpdclient/patches/patch-src_sync_c | 11 | ||||
-rw-r--r-- | package/libmpdclient/patches/patch-src_sync_c.orig | 10 |
3 files changed, 31 insertions, 0 deletions
diff --git a/package/libmpdclient/patches/patch-src_socket_c b/package/libmpdclient/patches/patch-src_socket_c new file mode 100644 index 000000000..5417eccd7 --- /dev/null +++ b/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 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 diff --git a/package/libmpdclient/patches/patch-src_sync_c.orig b/package/libmpdclient/patches/patch-src_sync_c.orig new file mode 100644 index 000000000..6c28c39c8 --- /dev/null +++ b/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 |