aboutsummaryrefslogtreecommitdiff
path: root/audio/alsa-plugins/files/patch-arcam-av_arcam__av.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/alsa-plugins/files/patch-arcam-av_arcam__av.c')
-rw-r--r--audio/alsa-plugins/files/patch-arcam-av_arcam__av.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/alsa-plugins/files/patch-arcam-av_arcam__av.c b/audio/alsa-plugins/files/patch-arcam-av_arcam__av.c
new file mode 100644
index 000000000000..814076306326
--- /dev/null
+++ b/audio/alsa-plugins/files/patch-arcam-av_arcam__av.c
@@ -0,0 +1,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))
+