[openib-general] Re: [BUG]OpenSM double free or corruption
Michael S. Tsirkin
mst at mellanox.co.il
Mon Aug 8 06:05:41 PDT 2005
Hal, I'm trying to build libraries in non-standard directory.
My problem is that infiniband/mad.h assumes that its installed
in the same directory as infiniband/common.h.
Pls consider the following patch.
---
Dont assume that all headers are in the same directory.
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>
Index: management/libibmad/include/infiniband/mad.h
===================================================================
--- management/libibmad/include/infiniband/mad.h (revision 2963)
+++ management/libibmad/include/infiniband/mad.h (working copy)
@@ -36,7 +36,7 @@
#include <stdint.h>
#include <string.h>
-#include "common.h"
+#include <infiniband/common.h>
#ifdef __cplusplus
# define BEGIN_C_DECLS extern "C" {
--
MST
More information about the general
mailing list