summaryrefslogtreecommitdiffstats
path: root/audio/alsa-plugins/files/patch-arcam-av-arcam_av.c
blob: 2826201f10a544b880fb81e294bc5f9f67054643 (plain)
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
+++ 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>
 
@@ -37,6 +38,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))
 
OpenPOWER on IntegriCloud