aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLiming Wang <walimisdev@gmail.com>2012-12-21 16:56:58 +0800
committerBlue Swirl <blauwirbel@gmail.com>2012-12-22 12:06:48 +0000
commit3f124b687462ce3140d963a024705a89cdc8cee8 (patch)
treefdd40a3f0e5d6e198a66b0272f9c6456745c8a42 /net
parent0c884d1659f02b4a0c704c2344f42e3fabb1f193 (diff)
downloadqemu-3f124b687462ce3140d963a024705a89cdc8cee8.zip
qemu-3f124b687462ce3140d963a024705a89cdc8cee8.tar.gz
qemu-3f124b687462ce3140d963a024705a89cdc8cee8.tar.bz2
net: add missing include file
To fix building error: CC net/vde.o net/vde.c: In function ‘vde_cleanup’: net/vde.c:65:5: error: implicit declaration of function ‘qemu_set_fd_handler’ [-Werror=implicit-function-declaration] net/vde.c:65:5: error: nested extern declaration of ‘qemu_set_fd_handler’ [-Werror=nested-externs] cc1: all warnings being treated as errors Signed-off-by: Liming Wang <walimisdev@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/vde.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/vde.c b/net/vde.c
index 754a141..4dea32d 100644
--- a/net/vde.c
+++ b/net/vde.c
@@ -29,6 +29,7 @@
#include "clients.h"
#include "qemu-common.h"
#include "qemu/option.h"
+#include "qemu/main-loop.h"
typedef struct VDEState {
NetClientState nc;