Fix hostfs after uid/gid changes

This fixes a regression in https://github.com/apache/nuttx/pull/10869
This commit is contained in:
YAMAMOTO Takashi 2023-12-25 18:52:53 +09:00 committed by Xiang Xiao
parent d50b1778f7
commit 992719730f

View file

@ -108,8 +108,13 @@
/* These must match the definitions in include/sys/types.h */
typedef int16_t nuttx_blksize_t;
#ifdef CONFIG_SMALL_MEMORY
typedef int16_t nuttx_gid_t;
typedef int16_t nuttx_uid_t;
#else
typedef unsigned int nuttx_gid_t;
typedef unsigned int nuttx_uid_t;
#endif
typedef uint32_t nuttx_dev_t;
typedef uint16_t nuttx_ino_t;
typedef uint16_t nuttx_nlink_t;