diff --git a/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp b/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp index 619b240df7..fd4d168c5f 100644 --- a/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp +++ b/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp @@ -21,8 +21,6 @@ #include "utest.h" #include "dns_tests.h" -#include "nsapi_dns.h" - using namespace utest::v1; namespace { diff --git a/TESTS/network/multihoming/multihoming_tests.h b/TESTS/network/multihoming/multihoming_tests.h index c625cce65c..8fb837ad30 100644 --- a/TESTS/network/multihoming/multihoming_tests.h +++ b/TESTS/network/multihoming/multihoming_tests.h @@ -16,6 +16,7 @@ */ #include "mbed.h" +#include "nsapi_dns.h" #ifndef MULTIHOMING_TESTS_H #define MULTIHOMING_TESTS_H