aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-03-05 08:29:04 -0500
committerDavid S. Miller <davem@davemloft.net>2014-03-06 17:21:38 -0500
commit91c69227452f6cdf3759a8af624de1f81565d5bd (patch)
tree874091da2f46ce8a94019be0490f29b851c396a2 /net/ieee802154
parent5a8a1ab74dce1b50fe27745df477c502aec987eb (diff)
6lowpan: add missing include of net/ipv6.h
The 6lowpan.h file contains some static inline function which use internal ipv6 api structs. Add a include of ipv6.h to be sure that it's known before. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
-rw-r--r--net/ieee802154/6lowpan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ieee802154/6lowpan.h b/net/ieee802154/6lowpan.h
index 0dccf62434d5..f7d372b7d4ff 100644
--- a/net/ieee802154/6lowpan.h
+++ b/net/ieee802154/6lowpan.h
@@ -53,6 +53,8 @@
53#ifndef __6LOWPAN_H__ 53#ifndef __6LOWPAN_H__
54#define __6LOWPAN_H__ 54#define __6LOWPAN_H__
55 55
56#include <net/ipv6.h>
57
56#define UIP_802154_SHORTADDR_LEN 2 /* compressed ipv6 address length */ 58#define UIP_802154_SHORTADDR_LEN 2 /* compressed ipv6 address length */
57#define UIP_IPH_LEN 40 /* ipv6 fixed header size */ 59#define UIP_IPH_LEN 40 /* ipv6 fixed header size */
58#define UIP_PROTO_UDP 17 /* ipv6 next header value for UDP */ 60#define UIP_PROTO_UDP 17 /* ipv6 next header value for UDP */