From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYo7G-0002bA-5o for qemu-devel@nongnu.org; Wed, 14 Nov 2012 20:19:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYo7D-0000Un-3W for qemu-devel@nongnu.org; Wed, 14 Nov 2012 20:19:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYo7C-0000Uj-SA for qemu-devel@nongnu.org; Wed, 14 Nov 2012 20:19:35 -0500 From: Igor Mammedov Date: Thu, 15 Nov 2012 02:19:31 +0100 Message-Id: <1352942371-8287-1-git-send-email-imammedo@redhat.com> In-Reply-To: <50A41E3D.7050005@suse.de> References: <50A41E3D.7050005@suse.de> Subject: [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: qemu-devel@nongnu.org Cc: afaerber@suse.de, ehabkost@redhat.com 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 --- 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