aboutsummaryrefslogtreecommitdiffstats
path: root/audio/alsa-plugins/files/patch-arcam-av_arcam__av.c
blob: 81407630632616c8b119385d3b32dfbedf6e1f12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- arcam-av/arcam_av.c.orig    2016-03-31 13:11:29 UTC
+++ arcam-av/arcam_av.c
@@ -27,6 +27,7 @@
 #include <signal.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <termios.h>
 #include <unistd.h>
 
@@ -38,6 +39,8 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 
+#define AF_FILE     AF_UNIX
+
 #define MIN(a, b)     ((a) < (b) ? (a) : (b))
 #define MAX(a, b)     ((a) > (b) ? (a) : (b))