fixes for the musl C library
cover fixes for the musl C library
From: Michael Opdenacker <[email protected]>
This is a series of patches to fix compiling alsa-utils with the Musl C library.
Tests were made use the "master" branch of the Yocto Project Poky distribution.
Compiling with the GNU C library (glibc) was tested too.
Michael Opdenacker (2):
topology.c: include locale.h
nhlt-dmic-info.c: include sys/types.h
nhlt/nhlt-dmic-info.c | 1 + topology/topology.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.34.1
PATCH 1/2 topology.c: include locale.h
From: Michael Opdenacker <[email protected]>
This solves an issue compiling with the musl libc.
--- topology/topology.c | 1 + 1 file changed, 1 insertion(+)
topology/topology.c +1 -0
@@ -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>
Signature · 1 line
2.34.1
PATCH 2/2 nhlt-dmic-info.c: include sys/types.h
In reply to [email protected]From: Michael Opdenacker <[email protected]>
This fixes an issue compiling with the musl libc.
--- nhlt/nhlt-dmic-info.c | 1 + 1 file changed, 1 insertion(+)
nhlt/nhlt-dmic-info.c +1 -0
@@ -33,6 +33,7 @@#include <fcntl.h> #include <getopt.h> #include <sys/stat.h> +#include <sys/types.h> #include <arpa/inet.h> int debug =0 ;
Signature · 1 line
2.34.1
Quoted 5 lines · On 19. 09. 23 13:14, [email protected] wrote:
From: Michael Opdenacker <[email protected]>
This is a series of patches to fix compiling alsa-utils with the Musl C library.
Quoted 8 lines
Tests were made use the "master" branch of the Yocto Project Poky distribution.
Compiling with the GNU C library (glibc) was tested too.
Michael Opdenacker (2):
topology.c: includelocale.h
nhlt-dmic-info.c: includesys/types.h
Thanks. Applied both.
Jaroslav
Signature · 2 lines
Jaroslav Kysela <[email protected]> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.