Skip to content

Commit

Permalink
lib/system/nuttx/io.c: include <stddef.h> in nuttx/io.c
Browse files Browse the repository at this point in the history
Because nuttx/io.c use NULL and NULL is defined in <stddef.h>

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
  • Loading branch information
CV-Bowen authored and arnopo committed Oct 17, 2024
1 parent b691eee commit 969420f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/system/nuttx/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

#include <stddef.h>
#include <metal/cache.h>
#include <metal/io.h>
#include <nuttx/arch.h>
Expand Down

0 comments on commit 969420f

Please sign in to comment.