Skip to content

Commit

Permalink
IB: Include <linux/list.h> from <rdma/ib_mad.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dotan Barak authored and Roland Dreier committed Aug 3, 2007
1 parent 38d5af9 commit e8b398d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/rdma/ib_mad.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e8b398d

Please sign in to comment.