[openib-general] [PATCH repost] libmthca: fix compilation on SLES10

Michael S. Tsirkin mst at mellanox.co.il
Mon Jul 31 05:08:12 PDT 2006


Roland, could you take the following please?

Fix compilation on SLES10:

---

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>
 

-- 
MST




More information about the general mailing list