summaryrefslogtreecommitdiffstats
path: root/main/libmpdclient/fix-includes.patch
blob: 7551e2c490e8fbf37b5ea1d6e51673e2deea6749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- libmpdclient-2.8.orig/src/socket.c
+++ libmpdclient-2.8/src/socket.c
@@ -43,6 +43,7 @@
 #else
 #  include <netinet/in.h>
 #  include <arpa/inet.h>
+#  include <sys/types.h>
 #  include <sys/socket.h>
 #  include <netdb.h>
 #  include <sys/un.h>
--- libmpdclient-2.8.orig/src/sync.c
+++ libmpdclient-2.8/src/sync.c
@@ -35,6 +35,7 @@
 #include <stdio.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <sys/types.h>
 
 static bool
 ignore_errno(int e)