Skip to content

Commit 969420f

Browse files
CV-Bowenarnopo
authored andcommitted
lib/system/nuttx/io.c: include <stddef.h> in nuttx/io.c
Because nuttx/io.c use NULL and NULL is defined in <stddef.h> Signed-off-by: Bowen Wang <[email protected]>
1 parent b691eee commit 969420f

File tree

1 file changed

+1
-0
lines changed
  • lib/system/nuttx

1 file changed

+1
-0
lines changed

lib/system/nuttx/io.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
66

7+
#include <stddef.h>
78
#include <metal/cache.h>
89
#include <metal/io.h>
910
#include <nuttx/arch.h>

0 commit comments

Comments
 (0)