Skip to content

Commit 7294c9a

Browse files
Ziemasfjtrujy
authored andcommitted
syst/stat.h: Provide lstat definition on ps2sdk
1 parent b9140c7 commit 7294c9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

newlib/libc/include/sys/stat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ int mkfifo (const char *__path, mode_t __mode );
157157
int stat (const char *__restrict __path, struct stat *__restrict __sbuf );
158158
mode_t umask (mode_t __mask );
159159

160-
#if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__)
160+
#if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) || defined(__ps2sdk__)
161161
int lstat (const char *__restrict __path, struct stat *__restrict __buf );
162162
int mknod (const char *__path, mode_t __mode, dev_t __dev );
163163
#endif

0 commit comments

Comments
 (0)