[libvirt] [PATCH 1/2] qemu: fix build with musl libc

Michal Privoznik mprivozn at redhat.com
Thu Oct 17 09:06:25 UTC 2019


On 10/16/19 1:22 PM, casantos at redhat.com wrote:
> From: Carlos Santos <casantos at redhat.com>
> 
> On musl libc "stderr" is a preprocessor macro whose expansion leads to
> compilation errors:

Indeed, from their stdio.h:

#define stdin  (stdin)
#define stdout (stdout)
#define stderr (stderr)

https://git.musl-libc.org/cgit/musl/tree/include/stdio.h#n66

I've came accross some other musl related bugs lately and I like it less 
and less.

Michal




More information about the libvir-list mailing list