[dpdk-dev] [PATCH 07/20] bitratestats: fix missing header include
From: Bruce Richardson <hidden>
Date: 2021-01-14 11:07:16
Subsystem:
library code, the rest · Maintainers:
Andrew Morton, Linus Torvalds
From: Bruce Richardson <hidden>
Date: 2021-01-14 11:07:16
Subsystem:
library code, the rest · Maintainers:
Andrew Morton, Linus Torvalds
The rte_compat.h header file must be included to get the definition of
__rte_experimental.
Fixes: f030bff72f81 ("bitrate: add free function")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <redacted>
---
lib/librte_bitratestats/rte_bitrate.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_bitratestats/rte_bitrate.h b/lib/librte_bitratestats/rte_bitrate.h
index 4865929e8f..7e34529687 100644
--- a/lib/librte_bitratestats/rte_bitrate.h
+++ b/lib/librte_bitratestats/rte_bitrate.h@@ -6,6 +6,7 @@ #define _RTE_BITRATE_H_ #include <stdint.h> +#include <rte_compat.h> #ifdef __cplusplus extern "C" {
--
2.27.0