From patchwork Thu Dec 20 22:09:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 207715 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D2A592C0109 for ; Fri, 21 Dec 2012 09:10:16 +1100 (EST) Received: from localhost ([::1]:50614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TloJh-00034u-J2 for incoming@patchwork.ozlabs.org; Thu, 20 Dec 2012 17:10:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TloJX-00031B-5I for qemu-devel@nongnu.org; Thu, 20 Dec 2012 17:10:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TloJS-0007ki-1r for qemu-devel@nongnu.org; Thu, 20 Dec 2012 17:10:02 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:45321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TloJR-0007kO-RL; Thu, 20 Dec 2012 17:09:57 -0500 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 309D17280049; Thu, 20 Dec 2012 23:09:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kIa7Dn3pOJ2k; Thu, 20 Dec 2012 23:09:55 +0100 (CET) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id B94FD728004A; Thu, 20 Dec 2012 23:09:55 +0100 (CET) From: Stefan Weil To: qemu-trivial@nongnu.org, Anthony Liguori , Stefan Hajnoczi Date: Thu, 20 Dec 2012 23:09:53 +0100 Message-Id: <1356041393-13853-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.47.199.172 Cc: Paolo Bonzini , qemu-devel@nongnu.org, Stefan Weil Subject: [Qemu-devel] [PATCH] net: Add missing include statement (fix compiler warnings for MinGW) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org These and some more compiler warnings were caused by a recent commit: net/tap-win32.c:724: warning: no previous prototype for ‘tap_has_ufo’ net/tap-win32.c:729: warning: no previous prototype for ‘tap_has_vnet_hdr’ ... Signed-off-by: Stefan Weil --- net/tap-win32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/tap-win32.c b/net/tap-win32.c index 0c63cbd..265369c 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -31,6 +31,7 @@ #include "qemu-common.h" #include "clients.h" /* net_init_tap */ #include "net/net.h" +#include "net/tap.h" /* tap_has_ufo, ... */ #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include