Blame SOURCES/mlnx-dpdk-0006-net-mlx-fix-missing-includes-for-rdma-core-glue.patch

a6040a
From 406d0de6f87f3d300ab09fb79ed821d772d829ab Mon Sep 17 00:00:00 2001
a6040a
From: Adrien Mazarguil <adrien.mazarguil@6wind.com>
a6040a
Date: Thu, 1 Feb 2018 14:30:57 +0100
a6040a
Subject: [PATCH 6/9] net/mlx: fix missing includes for rdma-core glue
a6040a
a6040a
For consistency since these includes are already pulled by others.
a6040a
a6040a
Fixes: 6aca97d310 ("net/mlx4: move rdma-core calls to separate file")
a6040a
Fixes: 7202118686 ("net/mlx5: move rdma-core calls to separate file")
a6040a
a6040a
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
a6040a
(cherry picked from commit 0138edd60cb13612bc7ed638a4d549bcc60008b2)
a6040a
---
a6040a
 drivers/net/mlx4/mlx4_glue.c | 3 +++
a6040a
 drivers/net/mlx4/mlx4_glue.h | 3 +++
a6040a
 drivers/net/mlx5/mlx5_glue.h | 1 +
a6040a
 3 files changed, 7 insertions(+)
a6040a
a6040a
diff --git a/drivers/net/mlx4/mlx4_glue.c b/drivers/net/mlx4/mlx4_glue.c
a6040a
index 30797bd..47ae7ad 100644
a6040a
--- a/drivers/net/mlx4/mlx4_glue.c
a6040a
+++ b/drivers/net/mlx4/mlx4_glue.c
a6040a
@@ -3,6 +3,9 @@
a6040a
  * Copyright 2018 Mellanox
a6040a
  */
a6040a
 
a6040a
+#include <stddef.h>
a6040a
+#include <stdint.h>
a6040a
+
a6040a
 /* Verbs headers do not support -pedantic. */
a6040a
 #ifdef PEDANTIC
a6040a
 #pragma GCC diagnostic ignored "-Wpedantic"
a6040a
diff --git a/drivers/net/mlx4/mlx4_glue.h b/drivers/net/mlx4/mlx4_glue.h
a6040a
index 0623511..de251c6 100644
a6040a
--- a/drivers/net/mlx4/mlx4_glue.h
a6040a
+++ b/drivers/net/mlx4/mlx4_glue.h
a6040a
@@ -6,6 +6,9 @@
a6040a
 #ifndef MLX4_GLUE_H_
a6040a
 #define MLX4_GLUE_H_
a6040a
 
a6040a
+#include <stddef.h>
a6040a
+#include <stdint.h>
a6040a
+
a6040a
 /* Verbs headers do not support -pedantic. */
a6040a
 #ifdef PEDANTIC
a6040a
 #pragma GCC diagnostic ignored "-Wpedantic"
a6040a
diff --git a/drivers/net/mlx5/mlx5_glue.h b/drivers/net/mlx5/mlx5_glue.h
a6040a
index 67bd8d0..a2cd18e 100644
a6040a
--- a/drivers/net/mlx5/mlx5_glue.h
a6040a
+++ b/drivers/net/mlx5/mlx5_glue.h
a6040a
@@ -6,6 +6,7 @@
a6040a
 #ifndef MLX5_GLUE_H_
a6040a
 #define MLX5_GLUE_H_
a6040a
 
a6040a
+#include <stddef.h>
a6040a
 #include <stdint.h>
a6040a
 
a6040a
 /* Verbs headers do not support -pedantic. */
a6040a
-- 
a6040a
1.8.3.1
a6040a