diff mbox series

[1/2] topology.c: include locale.h

Message ID 20230919111430.2912326-2-michael.opdenacker@bootlin.com (mailing list archive)
State New, archived
Headers show
Series fixes for the musl C library | expand

Commit Message

Michael Opdenacker Sept. 19, 2023, 11:14 a.m. UTC
From: Michael Opdenacker <michael.opdenacker@bootlin.com>

This solves an issue compiling with the musl libc.

Fixes: #239
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
 topology/topology.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/topology/topology.c b/topology/topology.c
index 1840ffe..5d03a8b 100644
--- a/topology/topology.c
+++ b/topology/topology.c
@@ -32,6 +32,7 @@ 
 #include <sys/stat.h>
 #include <getopt.h>
 #include <assert.h>
+#include <locale.h>
 
 #include <alsa/asoundlib.h>
 #include <alsa/topology.h>