From patchwork Fri Dec 21 08:56:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: net: add missing include file Date: Thu, 20 Dec 2012 22:56:58 -0000 From: walimis X-Patchwork-Id: 207770 Message-Id: <1356080218-18019-1-git-send-email-walimisdev@gmail.com> To: Anthony Liguori , Stefan Hajnoczi , Paolo Bonzini Cc: qemu-devel@nongnu.org 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 --- net/vde.c | 1 + 1 file changed, 1 insertion(+) 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;