Patchwork [16/27] hmp: hmp.h: include qdict.h

login
register
mail settings
Submitter Luiz Capitulino
Date July 27, 2012, 9:31 p.m.
Message ID <1343424728-22461-17-git-send-email-lcapitulino@redhat.com>
Download mbox | patch
Permalink /patch/173814/
State New
Headers show

Comments

Luiz Capitulino - July 27, 2012, 9:31 p.m.
hmp.h is relying on qdict.h being provided by qapi-types.h. However,
qapi-types.h won't provide it anymore.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 hmp.h | 1 +
 1 file changed, 1 insertion(+)
Markus Armbruster - Aug. 1, 2012, 12:42 p.m.
Luiz Capitulino <lcapitulino@redhat.com> writes:

> hmp.h is relying on qdict.h being provided by qapi-types.h. However,
> qapi-types.h won't provide it anymore.

Squash it into commit that makes qapi-types.h no longer provide it?

Patch

diff --git a/hmp.h b/hmp.h
index 8d2b0d7..3275522 100644
--- a/hmp.h
+++ b/hmp.h
@@ -16,6 +16,7 @@ 
 
 #include "qemu-common.h"
 #include "qapi-types.h"
+#include "qdict.h"
 
 void hmp_info_name(Monitor *mon);
 void hmp_info_version(Monitor *mon);