]> git.droids-corp.org - dpdk.git/commitdiff
net/mlx: fix missing includes for rdma-core glue
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 2 Feb 2018 16:46:14 +0000 (17:46 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 6 Feb 2018 13:35:07 +0000 (14:35 +0100)
For consistency since these includes are already pulled by others.

Fixes: 4eba244b78ec ("net/mlx4: move rdma-core calls to separate file")
Fixes: 0e83b8e536c1 ("net/mlx5: move rdma-core calls to separate file")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4_glue.c
drivers/net/mlx4/mlx4_glue.h
drivers/net/mlx5/mlx5_glue.h

index 30797bd2bafd129eb5f65c01975f381511cb115d..47ae7ad0ff28830a56694a2bd391d086c899f6ce 100644 (file)
@@ -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"
index 0623511f244a6c6c5046ffb43666582213b3b155..de251c622b029abbe3b8c43ef4b828a167231fbf 100644 (file)
@@ -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"
index 6afb629ff89665aeb3db6e94bcdafd252dfb5435..7fed302bad4bdcd2d09e3f4c1ebebb9bac62204f 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef MLX5_GLUE_H_
 #define MLX5_GLUE_H_
 
+#include <stddef.h>
 #include <stdint.h>
 
 /* Verbs headers do not support -pedantic. */