From 4cab396d48386446a6505dbc82a570be12eaff44 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Sat, 9 Dec 2017 08:29:28 -0800 Subject: [PATCH] Shell: explicitly include rpl-ns.h when needed --- os/services/shell/shell-commands.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/os/services/shell/shell-commands.c b/os/services/shell/shell-commands.c index 0aebbc06c..fe5d03b3b 100644 --- a/os/services/shell/shell-commands.c +++ b/os/services/shell/shell-commands.c @@ -60,6 +60,11 @@ #endif /* MAC_CONF_WITH_TSCH */ #include "net/routing/routing.h" #include "net/mac/llsec802154.h" +#if RPL_WITH_NON_STORING +/* For RPL non-storing specific link printout */ +#include "rpl-ns.h" +#endif + #include