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: 5cd3cac9ed ("latency: added new library for latency stats")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
Adrien Mazarguil 2017-04-26 14:07:11 +02:00 committed by Thomas Monjalon
parent 045f8a3c75
commit f5b4a9aa02

View File

@ -40,7 +40,9 @@
* library to provide application and flow based latency stats.
*/
#include <stdint.h>
#include <rte_metrics.h>
#include <rte_mbuf.h>
#ifdef __cplusplus
extern "C" {