mirror of
https://github.com/espressif/openthread.git
synced 2026-10-03 06:17:41 +00:00
[spinel] fix use of OT header file in spinel.c (#5141)
`spinel.h` and `spinel.c` are soruce files that may be used by host side drivers and therefore the souurce code itself should not use any of OT header files. Spienl file provide `SPINEL_PLATFORM_HEADER` to allow platform to add their own includes if they want to.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "utils/wrap_string.h"
|
||||
#include <string.h>
|
||||
#endif // #ifndef SPINEL_PLATFORM_HEADER
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user