diff options
author | Dotan Barak <dotanb@dev.mellanox.co.il> | 2007-07-31 16:37:11 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-08-03 10:45:17 -0700 |
commit | e8b398deb73b4a0c3d636f2146c9f35f8eac6d88 (patch) | |
tree | eac160876ef715cef19c1bd33c8920f5b3f2d1ad | |
parent | 38d5af9565f3fa1bf258f3eaeb47c4a95fd7a2b2 (diff) | |
download | op-kernel-dev-e8b398deb73b4a0c3d636f2146c9f35f8eac6d88.zip op-kernel-dev-e8b398deb73b4a0c3d636f2146c9f35f8eac6d88.tar.gz |
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>
-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 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 */ |