Patchwork [10/24] qemu-config.h: include headers it needs

login
register
mail settings
Submitter Eduardo Habkost
Date Nov. 9, 2012, 1:08 p.m.
Message ID <1352466519-5779-11-git-send-email-ehabkost@redhat.com>
Download mbox | patch
Permalink /patch/198074/
State New
Headers show

Comments

Eduardo Habkost - Nov. 9, 2012, 1:08 p.m.
Include:
- <stdio.h> for FILE
- qemu-option.h for QemuOptsList

Some of those headers were probably being included by accident because
some other headers were including qemu-common.h, but those headers
should eventually stop including qemu-common.h.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qemu-config.h | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/qemu-config.h b/qemu-config.h
index 5557562..812c4c5 100644
--- a/qemu-config.h
+++ b/qemu-config.h
@@ -1,6 +1,8 @@ 
 #ifndef QEMU_CONFIG_H
 #define QEMU_CONFIG_H
 
+#include <stdio.h>
+#include "qemu-option.h"
 #include "error.h"
 
 extern QemuOptsList qemu_fsdev_opts;