Skip to content

Commit

Permalink
6lowpan: include net/net_namespace.h on 6lowpan namepsace header
Browse files Browse the repository at this point in the history
Don't rely on driver files or other headers having this file included.

CC: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: linux-zigbee-devel@lists.sourceforge.net
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Luis R. Rodriguez authored and David S. Miller committed Apr 20, 2014
1 parent 94716d2 commit 17d8ecb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/net/6lowpan.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#define __6LOWPAN_H__

#include <net/ipv6.h>
#include <net/net_namespace.h>

#define UIP_802154_SHORTADDR_LEN 2 /* compressed ipv6 address length */
#define UIP_IPH_LEN 40 /* ipv6 fixed header size */
Expand Down

0 comments on commit 17d8ecb

Please sign in to comment.