mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 02:17:47 +00:00
[meshcop] include logging.hpp for helper function 'LogError()' (#5562)
LogError() uses otLogWarnMeshCoP(), which was included by thread/thread_netif.hpp -> meshcop/joiner.hpp -> common/logging.hpp. thread_netif.hpp includes joiner.hpp only if OT_JOINER=ON, so the build would fail if OT_JOINER=OFF. This commit fixes the above.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "common/crc16.hpp"
|
||||
#include "common/debug.hpp"
|
||||
#include "common/locator-getters.hpp"
|
||||
#include "common/logging.hpp"
|
||||
#include "crypto/pbkdf2_cmac.h"
|
||||
#include "crypto/sha256.hpp"
|
||||
#include "mac/mac_types.hpp"
|
||||
|
||||
Reference in New Issue
Block a user