mirror of https://github.com/ARMmbed/mbed-os.git
nanostack: fix inclusion of kvstore
Protect kvstore headers as well as they should not be included if kvstore is not enabled in nanostack file system.pull/13684/head
parent
05babec988
commit
ccc5c8528b
|
@ -18,9 +18,9 @@
|
|||
#include <new>
|
||||
#include <string.h>
|
||||
#include "mbed_error.h"
|
||||
#if MBED_CONF_NANOSTACK_HAL_USE_KVSTORE == 1
|
||||
#include "kvstore_global_api.h"
|
||||
#include "kv_config.h"
|
||||
#if MBED_CONF_NANOSTACK_HAL_USE_KVSTORE == 1
|
||||
#include "ns_file_system.h"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue