net/sixlowpan: fix compile warning

sixlowpan/sixlowpan_input.c: In function ‘sixlowpan_dispatch’:
sixlowpan/sixlowpan_input.c:629:3: warning: implicit declaration of function ‘pkt_input’;
                                   did you mean ‘ipv6_input’? [-Wimplicit-function-declaration]
  629 |   pkt_input(&radio->r_dev);
      |   ^~~~~~~~~
      |   ipv6_input

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-02-07 17:36:51 +08:00 committed by Xiang Xiao
parent 7480cc2835
commit 83f8996c39
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
#include "nuttx/wireless/ieee802154/ieee802154_mac.h" #include "nuttx/wireless/ieee802154/ieee802154_mac.h"
#ifdef CONFIG_NET_PKT #ifdef CONFIG_NET_PKT
# include <nuttx/net/pkt.h>
# include "pkt/pkt.h" # include "pkt/pkt.h"
#endif #endif