[ofa-general] [PATCH] rdma/ib_mad.h: add include to linux/list.h
Dotan Barak
dotanb at dev.mellanox.co.il
Tue Jul 31 06:37:11 PDT 2007
ib_mad.h uses struct list_head, so while
linux/list.h seems to be pulled in indirectly
by one of the headers it includes, the right thing
is to include linux/list.h directly.
Signed-off-by: Dotan Barak <dotanb at dev.mellanox.co.il>
---
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h
index 30712dd..8ec3799 100644
--- a/include/rdma/ib_mad.h
+++ b/include/rdma/ib_mad.h
@@ -39,6 +39,8 @@
#if !defined( IB_MAD_H )
#define IB_MAD_H
+#include <linux/list.h>
+
#include <rdma/ib_verbs.h>
/* Management base version */
More information about the general
mailing list