mirror of https://github.com/ARMmbed/mbed-os.git
Mutex: fixing missing include
Macro MBED_DEPRECATED_SINCE is defined in platform/mbed_toolchain.h which was not included. If someone used member functions lock (which are prefixed with MBED_DEPRECATED_SINCE since some time), there would be a compile error instead of a warning. Including mbed_toolchain.h fixes that.pull/7423/head
parent
6a5062c5e3
commit
ac2db7cc06
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include "platform/NonCopyable.h"
|
||||
#include "platform/ScopedLock.h"
|
||||
#include "platform/mbed_toolchain.h"
|
||||
|
||||
namespace rtos {
|
||||
/** \addtogroup rtos */
|
||||
|
|
|
|||
Loading…
Reference in New Issue