[ofa-general] [PATCH] osm: fixing broken compilation when osm_vendor is simulator

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Wed Jun 6 05:44:58 PDT 2007


Hi Hal,

The compilation of OpenSM with vendor=sim has been broken by the 
recent PerfManager patch. 
Adding missing include in the vendor's header.

-- Yevgeny

Signed-off-by:  Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/include/vendor/osm_vendor_mlx.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/opensm/include/vendor/osm_vendor_mlx.h b/opensm/include/vendor/osm_vendor_mlx.h
index f220cc3..b3794cd 100644
--- a/opensm/include/vendor/osm_vendor_mlx.h
+++ b/opensm/include/vendor/osm_vendor_mlx.h
@@ -36,6 +36,7 @@
 #ifndef _OSMV_H_
 #define _OSMV_H_
 
+#include <sys/types.h>
 #include <opensm/osm_log.h>
 #include <complib/cl_qlist.h>
 
-- 
1.5.1.4





More information about the general mailing list