Subject: [PATCH 3/3] 6lowpan: include net/net_namespace.h on 6lowpan namepsace header

From: "Luis R. Rodriguez" <[email-masked]>
Date: Thu, 17 Apr 2014 18:22:56 -0700

From: "Luis R. Rodriguez" <mcgrof-IBi9RG/[email-masked]>

Don't rely on driver files or other headers having this file included.

CC: Alexander Smirnov <[email-masked]>
Cc: Dmitry Eremin-Solenikov <[email-masked]>
Cc: [email-masked]
Signed-off-by: Luis R. Rodriguez <mcgrof-IBi9RG/[email-masked]>
---
 include/net/6lowpan.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
index f7d372b..79b530f 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 */
-- 
1.9.1

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech