Merge pull request #12236 from evedon/ed-baremetal-build-failures

Fix baremetal build failures
pull/12060/head
Anna Bridge 2020-01-13 12:51:24 +00:00 committed by GitHub
commit c366bb4f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;