[dpdk-dev,v1,2/4] net/mlx: fix missing includes for rdma-core glue
Checks
Commit Message
For consistency since these includes are already pulled by others.
Fixes: 6aca97d310 ("net/mlx4: move rdma-core calls to separate file")
Fixes: 7202118686 ("net/mlx5: move rdma-core calls to separate file")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
---
drivers/net/mlx4/mlx4_glue.c | 3 +++
drivers/net/mlx4/mlx4_glue.h | 3 +++
drivers/net/mlx5/mlx5_glue.h | 1 +
3 files changed, 7 insertions(+)
@@ -3,6 +3,9 @@
* Copyright 2018 Mellanox
*/
+#include <stddef.h>
+#include <stdint.h>
+
/* Verbs headers do not support -pedantic. */
#ifdef PEDANTIC
#pragma GCC diagnostic ignored "-Wpedantic"
@@ -6,6 +6,9 @@
#ifndef MLX4_GLUE_H_
#define MLX4_GLUE_H_
+#include <stddef.h>
+#include <stdint.h>
+
/* Verbs headers do not support -pedantic. */
#ifdef PEDANTIC
#pragma GCC diagnostic ignored "-Wpedantic"
@@ -6,6 +6,7 @@
#ifndef MLX5_GLUE_H_
#define MLX5_GLUE_H_
+#include <stddef.h>
#include <stdint.h>
/* Verbs headers do not support -pedantic. */