1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

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:55:20 +01:00
parent e74484c31f
commit f5a5c5dd2c

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"