include stdlib.h in qemu-kvm.h
PATCH 1/1 include stdlib.h in qemu-kvm.h
abort() needs it. Build with kvm disabled breaks without it.
Signed-off-by Glauber Costa <[email protected]>
--- qemu-kvm.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
qemu-kvm.h +1 -0
@@ -13,6 +13,7 @@#endif #include <signal.h> +#include <stdlib.h> #ifdef CONFIG_KVM
Signature · 1 line
1.6.2.5
Marcelo Tosatti
AppliedQuoted 3 lines · Glauber Costa
abort()needs it. Build with kvm disabled breaks without it.Signed-off-by Glauber Costa <[email protected]>
Applied, thanks.