summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDotan Barak <dotanb@dev.mellanox.co.il>2007-07-31 16:37:11 +0300
committerRoland Dreier <rolandd@cisco.com>2007-08-03 10:45:17 -0700
commite8b398deb73b4a0c3d636f2146c9f35f8eac6d88 (patch)
treeeac160876ef715cef19c1bd33c8920f5b3f2d1ad /include
parent38d5af9565f3fa1bf258f3eaeb47c4a95fd7a2b2 (diff)
downloadlinux-e8b398deb73b4a0c3d636f2146c9f35f8eac6d88.tar.bz2
IB: Include <linux/list.h> from <rdma/ib_mad.h>
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@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_mad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h
index 30712ddd8a5e..8ec3799e42e1 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 */