[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not incl
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included |
Date: |
Wed, 13 Jul 2011 11:23:33 -0300 |
From: Luiz Capitulino <address@hidden>
Commit e4ea5e2d0e0e4c5188ab45b66f3195062ae059dc added the use of
the macro GCC_FMT_ATTR to error.h, however compiler.h is not
included by error.h
This will cause a build error when files including error.h
don't include qemu-common.h (or compiler.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 get it fixed.
Signed-off-by: Luiz Capitulino <address@hidden>
---
error.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/error.h b/error.h
index 0f92a6f..6361f40 100644
--- a/error.h
+++ b/error.h
@@ -12,6 +12,7 @@
#ifndef ERROR_H
#define ERROR_H
+#include "compiler.h"
#include <stdbool.h>
/**
--
1.7.6.134.gcf13f
- Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, (continued)
Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, Peter Maydell, 2011/07/13
- Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, Luiz Capitulino, 2011/07/13
- Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, Stefan Weil, 2011/07/13
- Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, Luiz Capitulino, 2011/07/14
- Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, malc, 2011/07/14
- Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, Luiz Capitulino, 2011/07/14
- Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, malc, 2011/07/14
Re: [Qemu-devel] [PATCH 1/2] Introduce compiler.h header file, Peter Maydell, 2011/07/14
[Qemu-devel] [PATCH 2/2] Error: Fix build when qemu-common.h is not included,
Luiz Capitulino <=