ibstat does not require libibmad directly. The change to ibdiag_common was required because of the conflict between the define in ib_types.h and enum in mad.h which presented itself after the fix in ibstat.
Signed-off-by: Ira Weiny <wei...@llnl.gov> --- include/ibdiag_common.h | 2 +- src/ibstat.c | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/ibdiag_common.h b/include/ibdiag_common.h index 09dc319..6645322 100644 --- a/include/ibdiag_common.h +++ b/include/ibdiag_common.h @@ -39,8 +39,8 @@ #ifndef _IBDIAG_COMMON_H_ #define _IBDIAG_COMMON_H_ -#include <infiniband/iba/ib_types.h> #include <infiniband/mad.h> +#include <infiniband/iba/ib_types.h> #include <infiniband/ibnetdisc.h> extern int ibverbose; diff --git a/src/ibstat.c b/src/ibstat.c index ade5d7a..f953cf4 100644 --- a/src/ibstat.c +++ b/src/ibstat.c @@ -50,7 +50,6 @@ #include <errno.h> #include <infiniband/umad.h> -#include <infiniband/mad.h> #include <ibdiag_common.h> -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html