From b17327456c912784748fe25570e67bfbce0de722 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Tue, 23 Jun 2020 13:36:43 -0700 Subject: [PATCH] [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. --- src/lib/spinel/spinel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/spinel/spinel.c b/src/lib/spinel/spinel.c index 23255a3a6..c09fcd57f 100644 --- a/src/lib/spinel/spinel.c +++ b/src/lib/spinel/spinel.c @@ -54,7 +54,7 @@ */ #include #include -#include "utils/wrap_string.h" +#include #endif // #ifndef SPINEL_PLATFORM_HEADER // ----------------------------------------------------------------------------