6lowpan: include net/net_namespace.h on 6lowpan namepsace header
authorLuis R. Rodriguez <mcgrof@suse.com>
Fri, 18 Apr 2014 01:22:56 +0000 (18:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Apr 2014 22:18:55 +0000 (18:18 -0400)
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>
include/net/6lowpan.h

index f7d372b7d4ff672d79a6ce16c437e016449cba4e..79b530fb2c4dd40205595d73831846e5ee56c7ac 100644 (file)
@@ -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 */