[openib-general] [PATCH] libibmad: use infiniband/ for includes
Michael S. Tsirkin
mst at mellanox.co.il
Mon Aug 8 06:13:08 PDT 2005
Repost: subject line was wrong
---
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.
Another reason is to make headers into examples of correct usage.
Pls consider the following patches.
---
libibmad: 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
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
--
MST
More information about the general
mailing list