Patchwork [04/11] qemu-fsdev-dummy.c: Include module.h

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

Comments

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

module.h is where machine_init() is defined, but qemu-fsdev-dummy.c
doesn't include it.

The header is probably being included by accident because some other
headers are 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>
---
 fsdev/qemu-fsdev-dummy.c |    1 +
 1 Datei geändert, 1 Zeile hinzugefügt(+)

Patch

diff --git a/fsdev/qemu-fsdev-dummy.c b/fsdev/qemu-fsdev-dummy.c
index 4e700dd..300f275 100644
--- a/fsdev/qemu-fsdev-dummy.c
+++ b/fsdev/qemu-fsdev-dummy.c
@@ -14,6 +14,7 @@ 
 #include <string.h>
 #include "qemu-fsdev.h"
 #include "qemu-config.h"
+#include "module.h"
 
 int qemu_fsdev_add(QemuOpts *opts)
 {