aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/6lowpan.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@suse.com>2014-04-17 18:22:56 -0700
committerDavid S. Miller <davem@davemloft.net>2014-04-20 18:18:55 -0400
commit17d8ecb8ff791359c9d9a44bc766c3d4b87f37f7 (patch)
tree50af668c5d74b47e355ec5ed0c957280ec474c1c /include/net/6lowpan.h
parent6lowpan: make lowpan_cb static (diff)
downloadwireguard-linux-17d8ecb8ff791359c9d9a44bc766c3d4b87f37f7.tar.xz
wireguard-linux-17d8ecb8ff791359c9d9a44bc766c3d4b87f37f7.zip
6lowpan: include net/net_namespace.h on 6lowpan namepsace header
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>
Diffstat (limited to 'include/net/6lowpan.h')
-rw-r--r--include/net/6lowpan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
index f7d372b7d4ff..79b530fb2c4d 100644
--- a/include/net/6lowpan.h
+++ b/include/net/6lowpan.h
@@ -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 */