aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-plugins
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-05-29 15:24:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-03 16:34:44 +0100
commit7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f (patch)
treefd2cf517447b69aa2756f343d906fd731c5ef79e /meta/recipes-multimedia/alsa/alsa-plugins
parenta23cbec2fab9832dfcbad08e22f0f81a01fcab65 (diff)
downloadopenembedded-core-contrib-7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f.tar.gz
alsa-plugins: Include missing sys/select.h
This is exposed by musl where indirect include does not happen Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-plugins')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch b/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch
new file mode 100644
index 00000000000..c70c72cb7ee
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch
@@ -0,0 +1,31 @@
+From d28c655be3ac4fcb8024555983884f832ee18787 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 29 May 2015 15:17:30 -0700
+Subject: [PATCH] arcam-av: Include sys/select.h for fd_set definition
+
+fixes build errors on non-glibc based systems
+
+arcam-av/arcam_av.c:389:2: error: unknown type name 'fd_set'
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+Upstream-Status: Submitted
+
+ arcam-av/arcam_av.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arcam-av/arcam_av.c b/arcam-av/arcam_av.c
+index 0491fc6..fff96f9 100644
+--- a/arcam-av/arcam_av.c
++++ b/arcam-av/arcam_av.c
+@@ -31,6 +31,7 @@
+ #include <unistd.h>
+
+ #include <sys/ipc.h>
++#include <sys/select.h>
+ #include <sys/shm.h>
+ #include <sys/stat.h>
+ #include <sys/stat.h>
+--
+2.1.4
+