Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 1 | From d8a8a9affd5726827ef3995652248595b4a8c87e Mon Sep 17 00:00:00 2001 |
| 2 | From: Michael Opdenacker <michael.opdenacker@bootlin.com> |
| 3 | Date: Tue, 19 Sep 2023 11:27:46 +0200 |
| 4 | Subject: [PATCH] topology.c: include locale.h |
| 5 | |
| 6 | To fix an issue compiling with the musl C library: |
| 7 | topology.c: error: 'LC_ALL' undeclared |
| 8 | |
| 9 | https://github.com/alsa-project/alsa-utils/issues/239 |
| 10 | |
| 11 | Upstream-Status: Backport [https://github.com/alsa-project/alsa-utils/commit/8c229270f6bae83b705a03714c46067a7aa57b02] |
| 12 | Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> |
| 13 | --- |
| 14 | topology/topology.c | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/topology/topology.c b/topology/topology.c |
| 18 | index 1840ffe..5d03a8b 100644 |
| 19 | --- a/topology/topology.c |
| 20 | +++ b/topology/topology.c |
| 21 | @@ -32,6 +32,7 @@ |
| 22 | #include <sys/stat.h> |
| 23 | #include <getopt.h> |
| 24 | #include <assert.h> |
| 25 | +#include <locale.h> |
| 26 | |
| 27 | #include <alsa/asoundlib.h> |
| 28 | #include <alsa/topology.h> |
| 29 | -- |
| 30 | 2.34.1 |
| 31 | |