[build] include necessary headers in spinel (#11683)

- Include `stdint.h` for `*int*_t` types. 
- Include `stddef.h` for `size_t` type.
This commit is contained in:
Handa Wang
2025-07-08 15:33:08 -07:00
committed by GitHub
parent 85f0e8e0ac
commit a9b30754e4
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -35,6 +35,8 @@
#ifndef RADIO_SPINEL_METRICS_H_
#define RADIO_SPINEL_METRICS_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
+2
View File
@@ -25,6 +25,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <cstddef>
/**
* Allows to encrypt spinel frames sent between Application Processor (AP) and Network Co-Processor (NCP).
*/