Received: from eggs.gnu.org ([2001:4830:134:3::10]:52747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEps8-00046J-9I for qemu-devel@nongnu.org; Wed, 28 Aug 2013 20:14:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEps2-0007hy-8f for qemu-devel@nongnu.org; Wed, 28 Aug 2013 20:14:00 -0400 From: Alexander Graf Date: Thu, 29 Aug 2013 02:13:49 +0200 Message-Id: <1377735229-54669-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] PPC: KVM: Compile fix for qemu_notify_event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-ppc@nongnu.org list:PowerPC" Cc: qemu-devel Developers 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 again. 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 --- 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" -- 1.8.1.4