diff mbox

librdmacm: support 2.6.9

Message ID CF9C39F99A89134C9CF9C4CCB68B8DDF255F3A661F@orsmsx501.amr.corp.intel.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Hefty, Sean June 1, 2010, 5:33 p.m. UTC
None
diff mbox

Patch

diff --git a/include/infiniband/ib.h b/include/infiniband/ib.h
index 3a97322..2e5029a 100644
--- a/include/infiniband/ib.h
+++ b/include/infiniband/ib.h
@@ -43,6 +43,16 @@ 
 #define PF_IB AF_IB
 #endif
 
+#ifndef __be16
+#define __be16 __u16
+#endif
+#ifndef __be32
+#define __be32 __u32
+#endif
+#ifndef __be64
+#define __be64 __u64
+#endif
+
 struct ib_addr {
 	union {
 		__u8		uib_addr8[16];