[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 03/25] Error: Fix build when qemu-common.h is not in
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 03/25] Error: Fix build when qemu-common.h is not included |
Date: |
Thu, 21 Jul 2011 17:00:52 -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.233.gd79bc
- [Qemu-devel] [PULL 0/25]: QMP queue, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 01/25] QMP: add snapshot-blkdev-sync command, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 02/25] Introduce compiler.h header file, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 03/25] Error: Fix build when qemu-common.h is not included,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 05/25] qlist: add qlist_first()/qlist_next(), Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 06/25] qapi: add module init types for qapi, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 04/25] Add hard build dependency on glib, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 09/25] qapi: add QMP output visitor, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 07/25] qapi: add QAPI visitor core, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 11/25] qapi: add QMP command registration/lookup functions, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 10/25] qapi: add QAPI dealloc visitor, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 08/25] qapi: add QMP input visitor, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 13/25] qapi: add ordereddict.py helper library, Luiz Capitulino, 2011/07/21
- [Qemu-devel] [PATCH 14/25] qapi: add qapi.py helper libraries, Luiz Capitulino, 2011/07/21