From f5a5c5dd2c19356dec58c542bcdd2ef35aa5690f Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 21 Feb 2020 23:55:20 +0100 Subject: [PATCH] shell/gnrc_icmpv6_echo: fix build with USEMODULE += sock_dns To be able to call sock_dns_query() in _configure(), we also need to include the header file. --- sys/shell/commands/sc_gnrc_icmpv6_echo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/shell/commands/sc_gnrc_icmpv6_echo.c b/sys/shell/commands/sc_gnrc_icmpv6_echo.c index faaaed520d..7241f2635c 100644 --- a/sys/shell/commands/sc_gnrc_icmpv6_echo.c +++ b/sys/shell/commands/sc_gnrc_icmpv6_echo.c @@ -36,6 +36,9 @@ #ifdef MODULE_GNRC_IPV6_NIB #include "net/gnrc/ipv6/nib/nc.h" #endif +#ifdef MODULE_SOCK_DNS +#include "net/sock/dns.h" +#endif #include "net/icmpv6.h" #include "net/ipv6.h" #include "timex.h"