diff options
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch b/meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch new file mode 100644 index 0000000000..43497e3d76 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-utils/0001-nhlt-nhlt-dmic-info.c-include-sys-types.h.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 35a3382f3818d29b60f4c888e338189a4d93d0e5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Opdenacker <michael.opdenacker@bootlin.com> | ||
3 | Date: Tue, 19 Sep 2023 11:47:50 +0200 | ||
4 | Subject: [PATCH] nhlt/nhlt-dmic-info.c: include sys/types.h | ||
5 | |||
6 | To fix an issue compiling with the musl C library: | ||
7 | nhlt-dmic-info.c: error: unknown type name 'u_int8_t' | ||
8 | |||
9 | https://github.com/alsa-project/alsa-utils/issues/238 | ||
10 | |||
11 | Upstream-Status: Submitted [alsa-devel@alsa-project.org] | ||
12 | Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> | ||
13 | --- | ||
14 | nhlt/nhlt-dmic-info.c | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/nhlt/nhlt-dmic-info.c b/nhlt/nhlt-dmic-info.c | ||
18 | index 3f6c64d..331555a 100644 | ||
19 | --- a/nhlt/nhlt-dmic-info.c | ||
20 | +++ b/nhlt/nhlt-dmic-info.c | ||
21 | @@ -33,6 +33,7 @@ | ||
22 | #include <fcntl.h> | ||
23 | #include <getopt.h> | ||
24 | #include <sys/stat.h> | ||
25 | +#include <sys/types.h> | ||
26 | #include <arpa/inet.h> | ||
27 | |||
28 | int debug = 0; | ||
29 | -- | ||
30 | 2.34.1 | ||
31 | |||