[dpdk-dev,v2,13/13] ethdev: fix missing include in flow API

Message ID 20180404144805.11966-14-adrien.mazarguil@6wind.com (mailing list archive)
State Superseded, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail apply issues

Commit Message

Adrien Mazarguil April 4, 2018, 2:58 p.m. UTC
  Fixes: b1a4b4cbc0a8 ("ethdev: introduce generic flow API")
Cc: stable@dpdk.org

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
---
 lib/librte_ether/rte_flow.h | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Nélio Laranjeiro April 5, 2018, 8:18 a.m. UTC | #1
On Wed, Apr 04, 2018 at 04:58:08PM +0200, Adrien Mazarguil wrote:
> Fixes: b1a4b4cbc0a8 ("ethdev: introduce generic flow API")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>

Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>

> ---
>  lib/librte_ether/rte_flow.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h
> index 13e420218..cdaaa3a5b 100644
> --- a/lib/librte_ether/rte_flow.h
> +++ b/lib/librte_ether/rte_flow.h
> @@ -14,6 +14,8 @@
>   * associated actions in hardware through flow rules.
>   */
>  
> +#include <stdint.h>
> +
>  #include <rte_arp.h>
>  #include <rte_ether.h>
>  #include <rte_icmp.h>
> -- 
> 2.11.0
  

Patch

diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h
index 13e420218..cdaaa3a5b 100644
--- a/lib/librte_ether/rte_flow.h
+++ b/lib/librte_ether/rte_flow.h
@@ -14,6 +14,8 @@ 
  * associated actions in hardware through flow rules.
  */
 
+#include <stdint.h>
+
 #include <rte_arp.h>
 #include <rte_ether.h>
 #include <rte_icmp.h>