Patchwork [06/11] qemu-config.h: Include headers it needs

login
register
mail settings
Submitter Andreas Färber
Date Nov. 15, 2012, 3:06 a.m.
Message ID <1352948807-30415-7-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/199126/
State New
Headers show

Comments

Andreas Färber - Nov. 15, 2012, 3:06 a.m.
From: Eduardo Habkost <ehabkost@redhat.com>

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>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 qemu-config.h |    2 ++
 1 Datei geändert, 2 Zeilen hinzugefügt(+)

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;