aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-28 08:24:44 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-28 08:24:44 +0000
commita718acec08c4b22e9e3e36a0939d4ec8f94bf852 (patch)
tree5c7b5c6d80b07cad8f1bc698a0c07d36a366acf5 /vl.c
parentde5e5781fbbafc5821630b7d313d29de3298b124 (diff)
Fix warning in vl.c
vl.c calls dma_helper_init, so it needs to include dma.h to get a definition for it, otherwise we get compiler warnings like: /home/hch/work/qemu/vl.c: In function 'main': /home/hch/work/qemu/vl.c:5518: warning: implicit declaration of function 'dma_helper_init' Signed-off-by: Christoph Hellwig <hch@lst.de> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6887 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 1c22d4cb4a..3828bfd7ae 100644
--- a/vl.c
+++ b/vl.c
@@ -148,6 +148,7 @@ int main(int argc, char **argv)
#include "qemu-char.h"
#include "cache-utils.h"
#include "block.h"
+#include "dma.h"
#include "audio/audio.h"
#include "migration.h"
#include "kvm.h"