• C
    qemu: fix build with musl libc · 44d63ad9
    Carlos Santos 提交于
    On musl libc "stderr" is a preprocessor macro whose expansion leads to
    compilation errors:
    
    In file included from qemu/qemu_process.c:66:
    qemu/qemu_process.c: In function 'qemuProcessQMPFree':
    qemu/qemu_process.c:8418:21: error: expected identifier before '(' token
         VIR_FREE((proc->stderr));
                         ^~~~~~
    
    Prevent this by renaming the homonymous field in the _qemuProcessQMP
    struct to "stdErr".
    Signed-off-by: NCarlos Santos <casantos@redhat.com>
    Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
    44d63ad9
qemu_process.c 263.8 KB