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
wyr-7 committed Oct 10, 2024
1 parent a4bce35 commit 581f3df
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 581f3df

Please sign in to comment.