Merge pull request #5561 from deepikabhavnani/retarget_fix

Definition for stat was missing in header file
pull/5541/merge
Martin Kojtal 2017-11-23 12:30:53 +00:00 committed by GitHub
commit 4e222952d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -415,6 +415,14 @@ struct stat {
time_t st_ctime; ///< Time of last status change
};
#if __cplusplus
extern "C" {
#endif
int stat(const char *path, struct stat *st);
#if __cplusplus
};
#endif
/* The following are dirent.h definitions are declared here to garuntee
* consistency where structure may be different with different toolchains