[libvirt] [PATCH 0/2] Fix build with musl libc

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


On 10/16/19 1:22 PM, casantos at redhat.com wrote:
> From: Carlos Santos <casantos at redhat.com>
> 
> - Do not use 'stderr' as a field name, since it's a preprocessor macro
>    in stdio.h.
> - Include paths.h for _PATH_MOUNTED, if it's not defined in mntent.h.
> 
> Found while porting libvirt to Buildroot (https://buildroot.org/).
> 
> Carlos Santos (2):
>    qemu: fix build with musl libc
>    storage: fix build with musl libc
> 
>   src/qemu/qemu_process.c                | 8 ++++----
>   src/qemu/qemu_process.h                | 2 +-
>   src/storage/storage_backend_fs.c       | 3 +++
>   src/storage/storage_backend_vstorage.c | 3 +++
>   4 files changed, 11 insertions(+), 5 deletions(-)
> 

I've fixed 2/2 as suggested, and pushed.

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Congratulations on your first libvirt contribution!

Michal




More information about the libvir-list mailing list