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
Przemyslaw Stekiel 2018-08-09 08:31:39 +02:00
parent 6a5062c5e3
commit ac2db7cc06
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include "platform/NonCopyable.h"
#include "platform/ScopedLock.h"
#include "platform/mbed_toolchain.h"
namespace rtos {
/** \addtogroup rtos */