1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

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