[openib-general] [PATCH] osm/libvendor: compilation fixes

Sasha Khapyorsky sashak at voltaire.com
Mon Feb 19 15:04:41 PST 2007


This adds needed header files inclusion to prevent compilation failures.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---

Those compilation failures was detected during ibutils/ibmgtsim build.

 osm/libvendor/osm_vendor_mlx_sa.c  |    1 +
 osm/libvendor/osm_vendor_mlx_sim.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/osm/libvendor/osm_vendor_mlx_sa.c b/osm/libvendor/osm_vendor_mlx_sa.c
index ab37adb..37fa618 100644
--- a/osm/libvendor/osm_vendor_mlx_sa.c
+++ b/osm/libvendor/osm_vendor_mlx_sa.c
@@ -43,6 +43,7 @@
 #include <string.h>
 #include <complib/cl_debug.h>
 #include <complib/cl_timer.h>
+#include <complib/cl_event.h>
 #include <vendor/osm_vendor_api.h>
 #include <vendor/osm_vendor_sa_api.h>
 
diff --git a/osm/libvendor/osm_vendor_mlx_sim.c b/osm/libvendor/osm_vendor_mlx_sim.c
index d3e6eeb..bcd2bdc 100644
--- a/osm/libvendor/osm_vendor_mlx_sim.c
+++ b/osm/libvendor/osm_vendor_mlx_sim.c
@@ -57,6 +57,7 @@
 #include <vendor/osm_vendor_mlx_transport.h>
 #include <vendor/osm_vendor_mlx_dispatcher.h>
 #include <vendor/osm_vendor_mlx_svc.h>
+#include <complib/cl_thread.h>
 
 /* the simulator messages definition */
 #include <ibmgtsim/ibms_client_api.h>
-- 
1.5.0.1.40.gb40d





More information about the general mailing list