qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Error: Fix build when qemu-common.h is not incl


From: Michael Roth
Subject: Re: [Qemu-devel] [PATCH] Error: Fix build when qemu-common.h is not included
Date: Thu, 07 Jul 2011 11:17:15 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11

On 07/07/2011 11:02 AM, Luiz Capitulino wrote:
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<address@hidden>
---
  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

Tested-by: Michael Roth <address@hidden>



reply via email to

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