Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: michael.opdenacker@bootlin.com
To: alsa-devel@alsa-project.org
Cc: Michael Opdenacker <michael.opdenacker@bootlin.com>
Subject: [PATCH 1/2] topology.c: include locale.h
Date: Tue, 19 Sep 2023 13:14:29 +0200	[thread overview]
Message-ID: <20230919111430.2912326-2-michael.opdenacker@bootlin.com> (raw)
In-Reply-To: <20230919111430.2912326-1-michael.opdenacker@bootlin.com>

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 --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>
-- 
2.34.1


  reply	other threads:[~2023-09-19 11:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-19 11:14 [PATCH 0/2] fixes for the musl C library michael.opdenacker
2023-09-19 11:14 ` michael.opdenacker [this message]
2023-09-19 11:14 ` [PATCH 2/2] nhlt-dmic-info.c: include sys/types.h michael.opdenacker
2023-09-19 12:37 ` [PATCH 0/2] fixes for the musl C library Jaroslav Kysela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230919111430.2912326-2-michael.opdenacker@bootlin.com \
    --to=michael.opdenacker@bootlin.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox