From patchwork Mon Sep 7 10:18:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 11760427 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A976015AB for ; Mon, 7 Sep 2020 10:19:13 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 77C6B207C3 for ; Mon, 7 Sep 2020 10:19:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="ZIdRjjmB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77C6B207C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kFEE2-0001zT-FD; Mon, 07 Sep 2020 10:18:14 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kFEE0-0001zO-Nw for xen-devel@lists.xenproject.org; Mon, 07 Sep 2020 10:18:12 +0000 X-Inumbo-ID: f1497921-c18c-46b7-ac19-d9ec4d5151c2 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id f1497921-c18c-46b7-ac19-d9ec4d5151c2; Mon, 07 Sep 2020 10:18:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1599473891; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fwCriKOeajbwDI2TH66+ytVc0CU3ED0sZ9N5cVrjArA=; b=ZIdRjjmBWzojYnplikcH8DO87BARGPtoTQK4PdTI1cXOpgAN8mEjl6YI jc8Ehfz2U35fSOSz+3bTvKaUUB28SeloReAuzxpg010CY03AjMxF1Z1dA T/BYwQaO98o3su+uH8GoVWLqxhgPXcLFNVQVJAiesABQW99OG6jWd+6+O s=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: +wJ7efdrW2oh/MGm9QbKrEZ63toeQqBcvM4h5RPGl2NamMAPoOX+cZYF8DeEDHyCePkpNiIEDJ zFBRtXwL9bq1gWn2sKhXVsPB5v/dAKFqzPdZnQnxH4rgliVFNEQpFQE1CkxRS62pfCW84hzgDB WK8pV/t7En32vGMWNCOw8rbxv2tTWpc6f/csV6+rr5fdeu85CuKLQ8UEDRf9wa5Y7kebZSm0zn YbwK9Q5xzxSkDldjdxLA0cItHOnTfBRbKc3a8j6WURpEPWBcvZpalTpwzn1S5nL3OcIeesiiKk JrQ= X-SBRS: 2.7 X-MesageID: 26129224 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.76,401,1592884800"; d="scan'208";a="26129224" From: Roger Pau Monne To: CC: Roger Pau Monne , Ian Jackson , Wei Liu Subject: [PATCH] libgnttab/freebsd: add tools libs.h Date: Mon, 7 Sep 2020 12:18:05 +0200 Message-ID: <20200907101805.58458-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" In order to get the ROUNDUP macro, or else the build fails. I assume ROUNDUP would previously get included from a different header. Seeing as Linux does explicitly include libs.h do the same for FreeBSD. Signed-off-by: Roger Pau Monné Acked-by: Wei Liu --- tools/libs/gnttab/freebsd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libs/gnttab/freebsd.c b/tools/libs/gnttab/freebsd.c index 0588501d0f..768af701c6 100644 --- a/tools/libs/gnttab/freebsd.c +++ b/tools/libs/gnttab/freebsd.c @@ -30,6 +30,8 @@ #include +#include + #include "private.h" #define PAGE_SHIFT 12