Skip to content

Commit

Permalink
lib: system nuttx: 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 18, 2024
1 parent b691eee commit 7969bed
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 7969bed

Please sign in to comment.