Re: [libvirt] [PATCH 2/2] storage: fix build with musl libc

2019-10-17 Thread Michal Privoznik
On 10/16/19 1:22 PM, casan...@redhat.com wrote: From: Carlos Santos On musl _PATH_MOUNTED is defined in paths.h, not in mntent.h, which causes compilation errors: storage/storage_backend_fs.c: In function 'virStorageBackendFileSystemIsMounted': storage/storage_backend_fs.c:255:23: error:

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

2019-10-16 Thread casantos
From: Carlos Santos On musl _PATH_MOUNTED is defined in paths.h, not in mntent.h, which causes compilation errors: storage/storage_backend_fs.c: In function 'virStorageBackendFileSystemIsMounted': storage/storage_backend_fs.c:255:23: error: '_PATH_MOUNTED' undeclared (first use in this

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

2019-10-16 Thread casantos
From: Carlos Santos On musl _PATH_MOUNTED is defined in paths.h, not in mntent.h, which causes compilation errors: storage/storage_backend_fs.c: In function 'virStorageBackendFileSystemIsMounted': storage/storage_backend_fs.c:255:23: error: '_PATH_MOUNTED' undeclared (first use in this