alsa-plugins: Include missing sys/select.h

This is exposed by musl where indirect include does not happen

(From OE-Core rev: 7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2015-05-29 15:24:08 -07:00
committed by Richard Purdie
parent 91b7c88d9f
commit d66e6d5551
2 changed files with 34 additions and 1 deletions

View File

@@ -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

View File

@@ -17,7 +17,9 @@ LIC_FILES_CHKSUM = "\
file://rate/rate_samplerate.c;endline=19;md5=f3d3ce0b189846a486517d97a854b276 \
"
SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2"
SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2 \
file://0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch \
"
SRC_URI[md5sum] = "a66797b4471e3cbe96575207bfbe252c"
SRC_URI[sha256sum] = "325d85cac285f632b83e0191ae3f348bad03c1f007b937042f164abb81ea6532"