mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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
This commit is contained in:
parent
de5e5781fb
commit
a718acec08
1 changed files with 1 additions and 0 deletions
1
vl.c
1
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue