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.
This commit is contained in:
Benjamin Valentin
2020-02-21 23:56:33 +01:00
parent e74484c31f
commit f5a5c5dd2c
+3
View File
@@ -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"