[openib-general] [PATCH] librdmacm: add missing include
Michael S. Tsirkin
mst at mellanox.co.il
Sun Jul 16 06:12:42 PDT 2006
cma.c uses offsetof macro, so it must include stddef.h to pullin the definition.
Index: openib/src/userspace/librdmacm/src/cma.c
===================================================================
--- openib/src/userspace/librdmacm/src/cma.c (revision 8501)
+++ openib/src/userspace/librdmacm/src/cma.c (working copy)
@@ -48,6 +48,7 @@
#include <pthread.h>
#include <endian.h>
#include <byteswap.h>
+#include <stddef.h>
#include <sysfs/libsysfs.h>
--
MST
More information about the general
mailing list