[openib-general] [PATCH] osm: trivial: fix vendor includes

Michael S. Tsirkin mst at mellanox.co.il
Mon Aug 22 08:08:41 PDT 2005


One cant currently build opensm if one does not have
management libraries checked out in the same directory.
The reason is that management libs are installed in
/usr/local/include/infiniband now.

The following patch applies to Yael's branch as well.

---

Fix opensm to include files from include/infiniband directory
by their proper names with infiniband/ prefix.

Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

Index: include/vendor/osm_vendor_ibumad.h
===================================================================
--- include/vendor/osm_vendor_ibumad.h	(revision 3102)
+++ include/vendor/osm_vendor_ibumad.h	(working copy)
@@ -44,8 +44,8 @@
 #include <opensm/osm_base.h>
 #include <opensm/osm_log.h>
 
-#include <common.h>
-#include <umad.h>
+#include <infiniband/common.h>
+#include <infiniband/umad.h>
 
 #ifdef __cplusplus
 #  define BEGIN_C_DECLS extern "C" {

-- 
MST



More information about the general mailing list