gentoo-full-overlay/media-libs/alsa-lib/files/alsa-lib-1.2.1.1-ucm_add_asoundlib_h.patch

25 lines
720 B
Diff

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.