On 4/5/23 09:04, Philippe Mathieu-Daudé wrote:
"sysemu/kvm.h" is indirectly pulled in. Explicit its
inclusion to avoid when refactoring include/:

   hw/arm/sbsa-ref.c:693:9: error: implicit declaration of function 
'kvm_enabled' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
     if (kvm_enabled()) {
         ^

Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  hw/arm/sbsa-ref.c | 1 +
  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to