[openib-general] [PATCH] libmthca to include <stddef.h>
Michael S. Tsirkin
mst at mellanox.co.il
Wed May 31 01:17:42 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>
--
MST
More information about the general
mailing list