Skip to content

Commit cd98d2d

Browse files
Ziemasfjtrujy
authored andcommitted
syst/stat.h: Provide lstat definition on ps2sdk
1 parent 872619f commit cd98d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newlib/libc/include/sys/stat.h

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

145-
#if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__)
145+
#if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) || defined(__ps2sdk__)
146146
int lstat (const char *__restrict __path, struct stat *__restrict __buf );
147147
int mknod (const char *__path, mode_t __mode, dev_t __dev );
148148
#endif

0 commit comments

Comments
 (0)