From: Sam James Date: Thu, 7 Sep 2023 20:23:51 +0000 (+0100) Subject: topology: add include for ENABLE_NLS on musl X-Git-Tag: v1.2.11~22 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=d272c5d935b2ff8acc00f16317f1f960b02ed3a1;p=alsa-utils.git topology: add include for ENABLE_NLS on musl Needed for setlocale(). (After rebasing to pick up 8c229270f6bae83b705a03714c46067a7aa57b02, just move it to be guarded as the include now exists.) Closes: https://github.com/alsa-project/alsa-utils/pull/234 Signed-off-by: Sam James Signed-off-by: Jaroslav Kysela --- diff --git a/topology/topology.c b/topology/topology.c index 5d03a8b..98b000a 100644 --- a/topology/topology.c +++ b/topology/topology.c @@ -32,11 +32,13 @@ #include #include #include -#include #include #include #include "gettext.h" +#ifdef ENABLE_NLS +#include +#endif #include "version.h" #include "topology.h"