bitrate: fix missing header include
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 15 Jan 2021 11:10:38 +0000 (11:10 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 21 Jan 2021 09:27:44 +0000 (10:27 +0100)
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 <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_bitratestats/rte_bitrate.h

index 4865929..fcd1564 100644 (file)
@@ -7,6 +7,8 @@
 
 #include <stdint.h>
 
+#include <rte_compat.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif