Received: from eggs.gnu.org ([208.118.235.92]:53659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ4Fk-0000DQ-Dn for qemu-devel@nongnu.org; Thu, 15 Nov 2012 13:33:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZ4Fg-0002MZ-On for qemu-devel@nongnu.org; Thu, 15 Nov 2012 13:33:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ4Fg-0002MQ-Gt for qemu-devel@nongnu.org; Thu, 15 Nov 2012 13:33:24 -0500 Date: Thu, 15 Nov 2012 16:34:50 -0200 From: Eduardo Habkost Message-ID: <20121115183450.GA20235@otherpad.lan.raisama.net> References: <50A41E3D.7050005@suse.de> <1352942371-8287-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1352942371-8287-1-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] qga/channel-posix.c: include headers it needs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, afaerber@suse.de On Thu, Nov 15, 2012 at 02:19:31AM +0100, Igor Mammedov wrote: > From: Eduardo Habkost > > 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 > Signed-off-by: Igor Mammedov > --- > v2 > - include qemu-common.h for EXIT_FAILURE, exit and qemu_open definitions Thanks! The commit message above needs to be edited, too. :-) > --- > qga/channel-posix.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/qga/channel-posix.c b/qga/channel-posix.c > index d152827..bbbbcc9 100644 > --- a/qga/channel-posix.c > +++ b/qga/channel-posix.c > @@ -1,7 +1,11 @@ > #include > #include > +#include > +#include > +#include > #include "qemu_socket.h" > #include "qga/channel.h" > +#include "qemu-common.h" > > #ifdef CONFIG_SOLARIS > #include > -- > 1.7.11.7 > -- Eduardo