diff options
author | Dotan Barak <dotanb@dev.mellanox.co.il> | 2007-07-31 15:37:11 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-08-03 19:45:17 +0200 |
commit | e8b398deb73b4a0c3d636f2146c9f35f8eac6d88 (patch) | |
tree | eac160876ef715cef19c1bd33c8920f5b3f2d1ad | |
parent | IB/mad: Fix address handle leak in mad_rmpp (diff) | |
download | linux-e8b398deb73b4a0c3d636f2146c9f35f8eac6d88.tar.xz linux-e8b398deb73b4a0c3d636f2146c9f35f8eac6d88.zip |
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 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 */ |