[fix] sal build error.

This commit is contained in:
guozhanxin 2023-11-16 14:07:58 +08:00 committed by guo
parent 1b59c20203
commit c9a63df925
2 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@ extern "C" {
struct stat
{
struct rt_device *st_dev;
dev_t st_dev;
uint16_t st_ino;
uint16_t st_mode;
uint16_t st_nlink;

View File

@ -11,6 +11,8 @@
#include <rtthread.h>
#include <rthw.h>
#include <string.h>
#include <sys/time.h>
#include <sys/ioctl.h>