From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 9A720A0A02;
	Fri, 15 Jan 2021 12:11:20 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4C985140F4B;
	Fri, 15 Jan 2021 12:11:17 +0100 (CET)
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by mails.dpdk.org (Postfix) with ESMTP id AF0B3140F4E;
 Fri, 15 Jan 2021 12:11:15 +0100 (CET)
IronPort-SDR: TVvhZynNGRFuXCf0evtq4LbD8c5g24bkdxNdqpuelhV5xGm6Uxe74d3W3SQzC6+IntY2kGWkMN
 aI6L6tYKwFoQ==
X-IronPort-AV: E=McAfee;i="6000,8403,9864"; a="178683269"
X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="178683269"
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 15 Jan 2021 03:11:15 -0800
IronPort-SDR: 0SBgV4f1e8geL7edlBcAiO9JxWdT9owL5sZr+FZNMiG9lSsgN5eLH+heW7nxkMgnukW+TIawXW
 KgXBQP1JMSwA==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="401252658"
Received: from silpixa00399126.ir.intel.com ([10.237.222.4])
 by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2021 03:11:13 -0800
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: david.marchand@redhat.com, Bruce Richardson <bruce.richardson@intel.com>,
 stable@dpdk.org, Kevin Laatz <kevin.laatz@intel.com>,
 Ciara Power <ciara.power@intel.com>
Date: Fri, 15 Jan 2021 11:10:34 +0000
Message-Id: <20210115111052.16437-3-bruce.richardson@intel.com>
X-Mailer: git-send-email 2.27.0
In-Reply-To: <20210115111052.16437-1-bruce.richardson@intel.com>
References: <20210114110606.21142-1-bruce.richardson@intel.com>
 <20210115111052.16437-1-bruce.richardson@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH v2 02/19] telemetry: fix missing header include
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

The telemetry header file uses the rte_cpuset_t type, but does not
include any header providing that type. Include rte_os.h to provide the
necessary type.

Fixes: febbebf7f255 ("telemetry: keep threads separate from data plane")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 lib/librte_telemetry/rte_telemetry.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_telemetry/rte_telemetry.h b/lib/librte_telemetry/rte_telemetry.h
index 4693275c24..561c6b1658 100644
--- a/lib/librte_telemetry/rte_telemetry.h
+++ b/lib/librte_telemetry/rte_telemetry.h
@@ -5,6 +5,7 @@
 #include <stdint.h>
 #include <sched.h>
 #include <rte_compat.h>
+#include <rte_os.h>
 
 #ifndef _RTE_TELEMETRY_H_
 #define _RTE_TELEMETRY_H_
-- 
2.27.0