diff options
author | Dotan Barak <dotanb@dev.mellanox.co.il> | 2007-07-31 17:37:11 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-08-03 21:45:17 +0400 |
commit | e8b398deb73b4a0c3d636f2146c9f35f8eac6d88 (patch) | |
tree | eac160876ef715cef19c1bd33c8920f5b3f2d1ad /include/rdma | |
parent | 38d5af9565f3fa1bf258f3eaeb47c4a95fd7a2b2 (diff) | |
download | linux-e8b398deb73b4a0c3d636f2146c9f35f8eac6d88.tar.xz |
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/rdma')
-rw-r--r-- | include/rdma/ib_mad.h | 2 |
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 */ |