Skip to content

Commit

Permalink
6lowpan: add missing include of net/ipv6.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Aring authored and David S. Miller committed Mar 6, 2014
1 parent 5a8a1ab commit 91c6922
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/ieee802154/6lowpan.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
#ifndef __6LOWPAN_H__
#define __6LOWPAN_H__

#include <net/ipv6.h>

#define UIP_802154_SHORTADDR_LEN 2 /* compressed ipv6 address length */
#define UIP_IPH_LEN 40 /* ipv6 fixed header size */
#define UIP_PROTO_UDP 17 /* ipv6 next header value for UDP */
Expand Down

0 comments on commit 91c6922

Please sign in to comment.