6lowpan: include net/net_namespace.h on 6lowpan namepsace header
authorLuis R. Rodriguez <[email protected]>
Fri, 18 Apr 2014 01:22:56 +0000 (18:22 -0700)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Cc: Dmitry Eremin-Solenikov <[email protected]>
Cc: [email protected]
Signed-off-by: Luis R. Rodriguez <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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 */