From 83f8996c3981b7a01febe4f4676ab925c6cab9cf Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Mon, 7 Feb 2022 17:36:51 +0800 Subject: [PATCH] net/sixlowpan: fix compile warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- net/sixlowpan/sixlowpan_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/sixlowpan/sixlowpan_input.c b/net/sixlowpan/sixlowpan_input.c index 012fd87a7b..9d6f712c86 100644 --- a/net/sixlowpan/sixlowpan_input.c +++ b/net/sixlowpan/sixlowpan_input.c @@ -63,6 +63,7 @@ #include "nuttx/wireless/ieee802154/ieee802154_mac.h" #ifdef CONFIG_NET_PKT +# include # include "pkt/pkt.h" #endif