Contain pthread defs with HAVE_LIBPTHREAD
Signed-off-by: stan smith <[email protected]>
diff --git a/opensm/libvendor/osm_vendor_ibumad.c
b/opensm/libvendor/osm_vendor_ibumad.c
index 0f5a7ae..6cafc00 100644
--- a/opensm/libvendor/osm_vendor_ibumad.c
+++ b/opensm/libvendor/osm_vendor_ibumad.c
@@ -90,7 +90,11 @@ typedef struct _osm_umad_bind_info {
} osm_umad_bind_info_t;
typedef struct _umad_receiver {
+#ifdef HAVE_LIBPTHREAD
pthread_t tid;
+#else
+ cl_thread_t tid;
+#endif
osm_vendor_t *p_vend;
osm_log_t *p_log;
} umad_receiver_t;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html