From f5b4a9aa02dd39de1aa7f213d2bec61f2c7b1aee Mon Sep 17 00:00:00 2001 From: Adrien Mazarguil Date: Wed, 26 Apr 2017 14:07:11 +0200 Subject: [PATCH] latency: fix missing includes in exported header This commit addresses the following errors: In file included from build/include/rte_latencystats.h:43:0, from /tmp/check-includes.sh.6580.c:1: build/include/rte_metrics.h:91:2: error: unknown type name 'uint16_t' [...] In file included from /tmp/check-includes.sh.6580.c:1:0: build/include/rte_latencystats.h:66:19: error: expected declaration specifiers or '...' before '*' token [...] Fixes: 5cd3cac9ed22 ("latency: added new library for latency stats") Signed-off-by: Adrien Mazarguil --- lib/librte_latencystats/rte_latencystats.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_latencystats/rte_latencystats.h b/lib/librte_latencystats/rte_latencystats.h index 6efeaf46cc..d85cf3a53d 100644 --- a/lib/librte_latencystats/rte_latencystats.h +++ b/lib/librte_latencystats/rte_latencystats.h @@ -40,7 +40,9 @@ * library to provide application and flow based latency stats. */ +#include #include +#include #ifdef __cplusplus extern "C" { -- 2.20.1