qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Error: Fix build when qemu-common.h is not included
@ 2011-07-07 16:02 Luiz Capitulino
  2011-07-07 16:17 ` Michael Roth
  0 siblings, 1 reply; 4+ messages in thread
From: Luiz Capitulino @ 2011-07-07 16:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: mdroth

Commit e4ea5e2d0e0e4c5188ab45b66f3195062ae059dc added the use of
the macro GCC_FMT_ATTR to error.h, however qemu-common.h is not
included by error.h

This will cause a build error when files including error.h
don't include qemu-common.h. Not an issue today because the only
file including it is json-parser.h and it does include
qemu-common.h, but let's fix it.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 error.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/error.h b/error.h
index 0f92a6f..6e3bd98 100644
--- a/error.h
+++ b/error.h
@@ -12,7 +12,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-#include <stdbool.h>
+#include "qemu-common.h"
 
 /**
  * A class representing internal errors within QEMU.  An error has a string
-- 
1.7.6.134.gcf13f

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

end of thread, other threads:[~2011-07-07 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 16:02 [Qemu-devel] [PATCH] Error: Fix build when qemu-common.h is not included Luiz Capitulino
2011-07-07 16:17 ` Michael Roth
2011-07-07 16:50   ` Stefan Weil
2011-07-07 17:32     ` Luiz Capitulino

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).