From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <adrien.mazarguil@6wind.com>
Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42])
 by dpdk.org (Postfix) with ESMTP id 9FBED559A
 for <dev@dpdk.org>; Wed, 26 Apr 2017 14:07:37 +0200 (CEST)
Received: by mail-wm0-f42.google.com with SMTP id r190so2018608wme.1
 for <dev@dpdk.org>; Wed, 26 Apr 2017 05:07:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:in-reply-to:references;
 bh=BXONJIqWamn+x+aak9Xdhhk7hkaJeywVnYX8VrWBDzI=;
 b=wnWxIYpNniSQCDrpXXaEEPklqsy47rObUSH7x7JBqQv9THWp9HktXmWSvisY6Er7XN
 OYsuWLPI07sp9D9iI4erzzXC79I3i+36Sf3BqCwxGHR2m3dD8Cv8tlqE9ay7Joy49ix9
 Rn1HGvx7i3lRsyKS3P1ao5GjE52Cbo033T2if4uZeo1jG14HKK10dEtJxLq683tKzyPx
 mGdQF7ijQzeBNNKrKY9/P7LaTmQzAK2ONDNEwk3imvqY1ej1d5HMRPKnN0h0Fz86xJxL
 EH8QzSn3Jz/BIHO+7AxEnxCo1Fi462iitKFPbYe/1skWlkr7yM0P0qQWhOVyZaS7drDQ
 o4SQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references;
 bh=BXONJIqWamn+x+aak9Xdhhk7hkaJeywVnYX8VrWBDzI=;
 b=O1+BhwNcPB5o0gCPJUxgnR+AtV9mey2HtalGRILqqHVv/s5zGql9yV9yNUmbbls+jZ
 /96OAh+dUGTITbtcjdLhd/O4VqxOW5PJ1w/443FkuEMuZqPImLbVihmpS5lugVgP6eHY
 5buTarzZ4IqHc5GZu1pJLJzHHrC2ynpmU7zTLMtixI4P+ZQZilffbQPt9ilJMxCiE1tf
 2J7qhjegeFQmLLjBv2iCDkWUs7mxCjE601MXcjJ7qNnQkeAH4qDBU8IpPcRLVHtuJAU0
 XjtezPkCpPVCA3/t2/ISzO4lPssKS+fDQMPwwFWFhQG/Ys+BNUNbOxNB4ucYuVvvQ0Y3
 Fong==
X-Gm-Message-State: AN3rC/6LBQbb2fEyyo5rIqX9yeamXkZpc0IlQin5Lpw3KrQIRrjj33mT
 cGgM91MQ+4m2ifmZ
X-Received: by 10.28.195.134 with SMTP id t128mr572161wmf.57.1493208457465;
 Wed, 26 Apr 2017 05:07:37 -0700 (PDT)
Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78])
 by smtp.gmail.com with ESMTPSA id v7sm12009wrv.59.2017.04.26.05.07.36
 (version=TLS1_2 cipher=AES128-SHA bits=128/128);
 Wed, 26 Apr 2017 05:07:36 -0700 (PDT)
From: Adrien Mazarguil <adrien.mazarguil@6wind.com>
To: dev@dpdk.org
Cc: Reshma Pattan <reshma.pattan@intel.com>
Date: Wed, 26 Apr 2017 14:07:11 +0200
Message-Id: <ffec2777c6d65c50e97f171488c1b1fdf929b809.1493208189.git.adrien.mazarguil@6wind.com>
X-Mailer: git-send-email 2.1.4
In-Reply-To: <cover.1493208189.git.adrien.mazarguil@6wind.com>
References: <cover.1493108423.git.adrien.mazarguil@6wind.com>
 <cover.1493208189.git.adrien.mazarguil@6wind.com>
Subject: [dpdk-dev] [PATCH v3 03/14] latency: fix missing includes in
	exported header
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 12:07:38 -0000

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")

Cc: Reshma Pattan <reshma.pattan@intel.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
---
 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 6efeaf4..d85cf3a 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 <stdint.h>
 #include <rte_metrics.h>
+#include <rte_mbuf.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.1.4