From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D65B3A0559; Mon, 16 Mar 2020 17:41:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B7A301C0B8; Mon, 16 Mar 2020 17:41:14 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id D7CDE1C0B0; Mon, 16 Mar 2020 17:41:12 +0100 (CET) IronPort-SDR: PHy2o90liGu/EJfgjJy+GOmKYWWh0eQfVXw6Qp4DMiGvwkM2bh/cmyiiM85zvIOoMY67FfQOos nFxb4NTJV6iw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 09:41:09 -0700 IronPort-SDR: KTFhwO/T8/0yW8YH64ZlOZsffkEHRak8iAqW2SScA4YDbt8hgOmS4ilM71R33plxCo5T5ydr/p FFWkF5MG+l/g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,561,1574150400"; d="scan'208";a="290751409" Received: from silpixa00399126.ir.intel.com ([10.237.222.218]) by FMSMGA003.fm.intel.com with ESMTP; 16 Mar 2020 09:41:08 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: thomas@monjalon.net, Bruce Richardson , stable@dpdk.org Date: Mon, 16 Mar 2020 16:37:05 +0000 Message-Id: <20200316163705.5675-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] pci: fix missing off_t define on FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When removing the extra headers from rte_pci.h stdlib should have been removed instead of stdio, since off_t is missing for BSD builds when just including stdlib.h Fixes: 0dcba5256287 ("pci: remove unneeded includes in public header file") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- lib/librte_pci/rte_pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pci/rte_pci.h b/lib/librte_pci/rte_pci.h index c591af010..4087771c1 100644 --- a/lib/librte_pci/rte_pci.h +++ b/lib/librte_pci/rte_pci.h @@ -16,7 +16,7 @@ extern "C" { #endif -#include +#include #include #include #include -- 2.20.1