[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 16/18] PPC: KVM: Compile fix for qemu_notify_event

From: Alexander Graf
Subject: [Qemu-devel] [PULL 16/18] PPC: KVM: Compile fix for qemu_notify_event
Date: Mon, 2 Sep 2013 10:11:31 +0200

The function qemu_notify_event is defined by a header that we don't
include in the PPC KVM code. Include it to get the code building

  target-ppc/kvm_ppc.c: In function 'kvmppc_timer_hack':
  target-ppc/kvm_ppc.c:26:5: error: implicit declaration of function 
'qemu_notify_event' [-Werror=implicit-function-declaration]
  target-ppc/kvm_ppc.c:26:5: error: nested extern declaration of 
'qemu_notify_event' [-Werror=nested-externs]

Signed-off-by: Alexander Graf <address@hidden>
 target-ppc/kvm_ppc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target-ppc/kvm_ppc.c b/target-ppc/kvm_ppc.c
index 9b83655..f769acd 100644
--- a/target-ppc/kvm_ppc.c
+++ b/target-ppc/kvm_ppc.c
@@ -15,6 +15,7 @@
 #include "qemu/timer.h"
 #include "kvm_ppc.h"
 #include "sysemu/device_tree.h"
+#include "qemu/main-loop.h"
 #define PROC_DEVTREE_PATH "/proc/device-tree"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]