qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] cpu-defs.h: pull in qemu-common.h for HOST_LONG_BITS
@ 2012-07-15 20:25 Mike Frysinger
  2012-07-15 19:34 ` Stefan Weil
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2012-07-15 20:25 UTC (permalink / raw)
  To: qemu-devel

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 <vapier@gentoo.org>
---
 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-18 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-15 20:25 [Qemu-devel] [PATCH] cpu-defs.h: pull in qemu-common.h for HOST_LONG_BITS Mike Frysinger
2012-07-15 19:34 ` Stefan Weil
2012-07-15 21:54   ` Mike Frysinger
2012-07-16  5:26     ` Stefan Weil
2012-07-16  6:01       ` Stefan Weil
2012-07-18 12:13       ` Mike Frysinger
2012-07-18 13:14         ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).