[openib-general] [PATCH] libmthca: include stddef.h in mthca.h for SLES10 compilations
Jack Morgenstein
jackm at dev.mellanox.co.il
Tue Aug 29 08:07:05 PDT 2006
Fix compilation on SLES10 RC2:
mthca.h uses offsetof so it must include stddef.h
Signed-off-by: Jack Morgenstein <jackm at mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>
Index: l/src/userspace/libmthca/src/mthca.h
===================================================================
--- l/src/userspace/libmthca/src/mthca.h (revision 7569)
+++ l/src/userspace/libmthca/src/mthca.h (working copy)
@@ -36,6 +36,7 @@
#ifndef MTHCA_H
#define MTHCA_H
+#include <stddef.h>
#include <infiniband/driver.h>
#include <infiniband/arch.h>
More information about the general
mailing list