diff mbox

[rdma-core,3/7] rxe: Remove duplicate include

Message ID 20180209030904.22370-4-jgg@ziepe.ca (mailing list archive)
State Not Applicable
Headers show

Commit Message

Jason Gunthorpe Feb. 9, 2018, 3:09 a.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

This header must always be included after sys/socket.h and netinet/in.h to
avoid conflicts with glibc, and the .c file was including it too early.

rxe.h properly includes the uapi rdma_user_rxe.h header after the needed
includes.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
 providers/rxe/rxe.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/providers/rxe/rxe.c b/providers/rxe/rxe.c
index 5978df3abfa7b5..fcc8cfcb6fe49c 100644
--- a/providers/rxe/rxe.c
+++ b/providers/rxe/rxe.c
@@ -51,7 +51,6 @@ 
 
 #include <infiniband/driver.h>
 #include <infiniband/verbs.h>
-#include <rdma/rdma_user_rxe.h>
 
 #include "rxe_queue.h"
 #include "rxe-abi.h"