From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45913 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6VoF-0004mL-J9 for qemu-devel@nongnu.org; Sun, 03 Apr 2011 18:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6VoE-0000mG-5u for qemu-devel@nongnu.org; Sun, 03 Apr 2011 18:30:15 -0400 Received: from hall.aurel32.net ([88.191.126.93]:43755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6VoD-0000m0-Rd for qemu-devel@nongnu.org; Sun, 03 Apr 2011 18:30:14 -0400 Date: Mon, 4 Apr 2011 00:30:06 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] w32: Fix compilation (wrong include file) Message-ID: <20110403223005.GG13927@volta.aurel32.net> References: <1301813735-3506-1-git-send-email-weil@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1301813735-3506-1-git-send-email-weil@mail.berlios.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Blue Swirl , Alon Levy , QEMU Developers On Sun, Apr 03, 2011 at 08:55:35AM +0200, Stefan Weil wrote: > arpa/inet.h is not available for w32, so commit > edbb21363fbfe40e050f583df921484cbc31c79d breaks > w32 compilations. > > This is fixed by using qemu_socket.h. > > Cc: Alon Levy > Signed-off-by: Stefan Weil > --- > hw/ccid-card-passthru.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) Thanks, applied. > diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c > index 8506fed..28eb9d1 100644 > --- a/hw/ccid-card-passthru.c > +++ b/hw/ccid-card-passthru.c > @@ -8,9 +8,8 @@ > * See the COPYING file in the top-level directory. > */ > > -#include > - > #include "qemu-char.h" > +#include "qemu_socket.h" > #include "monitor.h" > #include "hw/ccid.h" > #include "libcacard/vscard_common.h" > -- > 1.7.0.4 > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net