From: Liming Wang Date: Fri, 21 Dec 2012 08:56:58 +0000 (+0800) Subject: net: add missing include file X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3f124b687462ce3140d963a024705a89cdc8cee8;p=qemu.git 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 Signed-off-by: Blue Swirl --- diff --git a/net/vde.c b/net/vde.c index 754a141543..4dea32d07a 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;