summaryrefslogtreecommitdiff
path: root/media-libs/alsa-lib/files/alsa-lib-1.2.1.1-ucm_add_asoundlib_h.patch
blob: 3c6072b8c3dcae1004941863c404a55861271ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Jaroslav Kysela <perex@perex.cz>
Date: Sat, 23 Nov 2019 14:38:35 +0000 (+0100)
Subject: ucm: use-case.h - add <alsa/asoundlib.h> include
X-Git-Url: https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff_plain;h=1a4b362115b5e1bb4f5b888919ffd11736adbf0c

ucm: use-case.h - add <alsa/asoundlib.h> include

It is required for snd_ctl_elem_id_t and snd_mixer_selem_id_t.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---

diff --git a/include/use-case.h b/include/use-case.h
index 8a37121..80073ef 100644
--- a/include/use-case.h
+++ b/include/use-case.h
@@ -42,6 +42,8 @@
 extern "C" {
 #endif
 
+#include <alsa/asoundlib.h>
+
 /**
  *  \defgroup ucm Use Case Interface
  *  The ALSA Use Case manager interface.