Fixed baremetal build failures

pull/12236/head
Evelyne Donnaes 2020-01-10 13:20:59 +00:00
parent dc6320239b
commit 8a4bba33bd
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,8 @@
* limitations under the License.
*/
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"
@ -116,3 +118,4 @@ void ASYNCHRONOUS_DNS_MULTI_IP()
TEST_ASSERT_EQUAL(0, result_dns_failure);
TEST_ASSERT_EQUAL(0, result_exp_timeout);
}
#endif // defined(MBED_CONF_RTOS_PRESENT)

View File

@ -24,6 +24,8 @@
#include "utest/utest.h"
#include "kvstore_global_api.h"
#include <cstring>
using namespace utest::v1;
using namespace mbed;