qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] cpu-defs.h: pull in qemu-common.h for HOST_LONG_BIT


From: Mike Frysinger
Subject: [Qemu-devel] [PATCH] cpu-defs.h: pull in qemu-common.h for HOST_LONG_BITS
Date: Sun, 15 Jul 2012 16:25:31 -0400

This file uses the define HOST_LONG_BITS, but doesn't explicitly include
qemu-common.h for it leading to build warnings for some setups:
In file included from qemu/target-bfin/cpu.h:17,
                 from qemu/cputlb.c:21:
qemu/cpu-defs.h:83:5: warning: "HOST_LONG_BITS" is not defined

Signed-off-by: Mike Frysinger <address@hidden>
---
 cpu-defs.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/cpu-defs.h b/cpu-defs.h
index f49e950..0d6018d 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -28,6 +28,7 @@
 #include <inttypes.h>
 #include <signal.h>
 #include "osdep.h"
+#include "qemu-common.h"
 #include "qemu-queue.h"
 #include "targphys.h"
 
-- 
1.7.9.7




reply via email to

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