Commit 91c69227 authored by Alexander Aring's avatar Alexander Aring Committed by David S. Miller

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: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5a8a1ab7
...@@ -53,6 +53,8 @@ ...@@ -53,6 +53,8 @@
#ifndef __6LOWPAN_H__ #ifndef __6LOWPAN_H__
#define __6LOWPAN_H__ #define __6LOWPAN_H__
#include <net/ipv6.h>
#define UIP_802154_SHORTADDR_LEN 2 /* compressed ipv6 address length */ #define UIP_802154_SHORTADDR_LEN 2 /* compressed ipv6 address length */
#define UIP_IPH_LEN 40 /* ipv6 fixed header size */ #define UIP_IPH_LEN 40 /* ipv6 fixed header size */
#define UIP_PROTO_UDP 17 /* ipv6 next header value for UDP */ #define UIP_PROTO_UDP 17 /* ipv6 next header value for UDP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment