Redhat 4.x is based on 2.6.9. Add support for older kernels. Signed-off-by: Sean Hefty <sean.he...@intel.com> --- This should fix the OFED build errors on RH 4.x. When testing this on a RH 4.x system, I noticed additional build warnings on 32-bit systems. I'll add a fix for these warnings separately.
include/infiniband/ib.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) 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]; _______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg