From patchwork Wed Oct 24 03:01:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 193642 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 571392C01E6 for ; Wed, 24 Oct 2012 14:04:32 +1100 (EST) Received: from localhost ([::1]:53749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQrGg-0000R9-Fx for incoming@patchwork.ozlabs.org; Tue, 23 Oct 2012 23:04:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQrDy-0003lB-96 for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQrDq-0006Ia-CC for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQrDq-0006HT-3x for qemu-devel@nongnu.org; Tue, 23 Oct 2012 23:01:34 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9O31MOE019338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Oct 2012 23:01:22 -0400 Received: from blackpad.lan.raisama.net (vpn1-4-96.gru2.redhat.com [10.97.4.96]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9O31LKa003764; Tue, 23 Oct 2012 23:01:22 -0400 Received: by blackpad.lan.raisama.net (Postfix, from userid 500) id 4F6B02031C0; Wed, 24 Oct 2012 01:02:12 -0200 (BRST) From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Wed, 24 Oct 2012 01:01:56 -0200 Message-Id: <1351047728-20360-13-git-send-email-ehabkost@redhat.com> In-Reply-To: <1351047728-20360-1-git-send-email-ehabkost@redhat.com> References: <1351047728-20360-1-git-send-email-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: peter.maydell@linaro.org, riku.voipio@iki.fi, blauwirbel@gmail.com, Anthony Liguori , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [Qemu-devel] [PATCH 12/24] qga/channel-posix.c: include headers it needs 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 Include: - for errno - & for fcntl() - "qemu-stdio.h" for qemu_open() Some of those headers were probably being included by accident because some other headers were including qemu-common.h, but those headers should eventually stop including qemu-common.h. Signed-off-by: Eduardo Habkost --- qga/channel-posix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qga/channel-posix.c b/qga/channel-posix.c index 57eea06..1539ed3 100644 --- a/qga/channel-posix.c +++ b/qga/channel-posix.c @@ -1,5 +1,9 @@ #include #include +#include +#include +#include +#include "qemu-stdio.h" #include "qemu_socket.h" #include "qga/channel.h"