diff mbox

[infiniband-diags] ibstat.c: Add include for __be64 type

Message ID 9747c5f3-7176-564f-8a74-a3f4a8558c71@dev.mellanox.co.il (mailing list archive)
State Accepted, archived
Delegated to: Ira Weiny
Headers show

Commit Message

Hal Rosenstock April 27, 2017, 1:24 p.m. UTC
for supporting libibumad prior to it's inclusion in rdma-core

rdma-core dependency was added by:
commit 8e562d3c22840064d7693e22c93f9c0a9112365a
infiniband-diags: Fix type passed to umad_get_ca_portguids

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Ira Weiny April 27, 2017, 9:28 p.m. UTC | #1
On Thu, Apr 27, 2017 at 09:24:22AM -0400, Hal Rosenstock wrote:
> 
> for supporting libibumad prior to it's inclusion in rdma-core
> 
> rdma-core dependency was added by:
> commit 8e562d3c22840064d7693e22c93f9c0a9112365a
> infiniband-diags: Fix type passed to umad_get_ca_portguids
> 
> Signed-off-by: Hal Rosenstock <hal@mellanox.com>

Thanks applied,
Ira

> ---
> diff --git a/src/ibstat.c b/src/ibstat.c
> index 67ab165..bad4c99 100644
> --- a/src/ibstat.c
> +++ b/src/ibstat.c
> @@ -48,6 +48,7 @@
>  #include <sys/stat.h>
>  #include <fcntl.h>
>  #include <errno.h>
> +#include <linux/types.h> /* __be64 */
>  
>  #include <infiniband/umad.h>
>  
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/src/ibstat.c b/src/ibstat.c
index 67ab165..bad4c99 100644
--- a/src/ibstat.c
+++ b/src/ibstat.c
@@ -48,6 +48,7 @@ 
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <linux/types.h> /* __be64 */
 
 #include <infiniband/umad.h>