@@ -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
@@ -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 <time.h>
+ static bool
++++ libmpdclient-2.8/src/sync.c 2013-09-18 11:04:15.000000000 +0200
+@@ -34,6 +34,7 @@