Skip to content

Commit

Permalink
telemetry: fix missing header include
Browse files Browse the repository at this point in the history
[ upstream commit 354e43b ]

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: febbebf ("telemetry: keep threads separate from data plane")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
bruce-richardson authored and bluca committed Feb 4, 2021
1 parent ceabc10 commit 3a35f5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/librte_telemetry/rte_telemetry.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

#include <stdint.h>
#include <sched.h>

#include <rte_compat.h>
#include <rte_os.h>

#ifndef _RTE_TELEMETRY_H_
#define _RTE_TELEMETRY_H_
Expand Down

0 comments on commit 3a35f5f

Please sign in to comment.