From patchwork Thu Mar 31 11:25:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olaf Hering X-Patchwork-Id: 8711281 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1523FC0553 for ; Thu, 31 Mar 2016 11:27:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41A682025B for ; Thu, 31 Mar 2016 11:27:20 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6EF11201F5 for ; Thu, 31 Mar 2016 11:27:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alajH-0007Gg-La; Thu, 31 Mar 2016 11:25:35 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1alajG-00077m-10 for xen-devel@lists.xen.org; Thu, 31 Mar 2016 11:25:34 +0000 Received: from [85.158.143.35] by server-2.bemta-6.messagelabs.com id D3/A2-09532-D290DF65; Thu, 31 Mar 2016 11:25:33 +0000 X-Env-Sender: olaf@aepfle.de X-Msg-Ref: server-4.tower-21.messagelabs.com!1459423532!6785700!1 X-Originating-IP: [195.135.221.2] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.11; banners=-,-,- X-VirusChecked: Checked Received: (qmail 61670 invoked from network); 31 Mar 2016 11:25:33 -0000 Received: from charybdis-ext.suse.de (HELO localhost) (195.135.221.2) by server-4.tower-21.messagelabs.com with SMTP; 31 Mar 2016 11:25:33 -0000 Received: by localhost (Postfix, from userid 1000) id 2545447660; Thu, 31 Mar 2016 13:25:32 +0200 (CEST) From: Olaf Hering To: xen-devel@lists.xen.org Date: Thu, 31 Mar 2016 13:25:30 +0200 Message-Id: <1459423530-4057-1-git-send-email-olaf@aepfle.de> X-Mailer: git-send-email 2.7.3 Cc: Wei Liu , Olaf Hering , Ian Jackson Subject: [Xen-devel] [PATCH v2] tools/libxc: Fix build error when using xc_version_len X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Tools fails to build with gcc 4.5, it does not provide ssize_t. Fixes d275ec9 ("libxc/libxl/python/xenstat/ocaml: Use new XEN_VERSION hypercall") Signed-off-by: Olaf Hering Cc: Ian Jackson Cc: Wei Liu Acked-by: Wei Liu Acked-by: Ian Jackson --- v2: use correct summary tools/libxc/include/xenctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h index a9e4dc1..2140702 100644 --- a/tools/libxc/include/xenctrl.h +++ b/tools/libxc/include/xenctrl.h @@ -27,6 +27,7 @@ #define __XEN_TOOLS__ 1 #endif +#include #include #include #include