equeue: Removed RTOS dependencies when RTOS not present

pull/6110/head
Christopher Haster 2018-02-15 10:20:12 -06:00
parent 47a128a5e5
commit c39ce94b09
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ extern "C" {
// Platform includes // Platform includes
#if defined(EQUEUE_PLATFORM_POSIX) #if defined(EQUEUE_PLATFORM_POSIX)
#include <pthread.h> #include <pthread.h>
#elif defined(EQUEUE_PLATFORM_MBED) #elif defined(EQUEUE_PLATFORM_MBED) && defined(MBED_CONF_RTOS_PRESENT)
#include "cmsis_os2.h" #include "cmsis_os2.h"
#include "mbed_rtos_storage.h" #include "mbed_rtos_storage.h"
#endif #endif