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: [email protected]
Signed-off-by: Bruce Richardson <[email protected]>
---
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