diff options
Diffstat (limited to 'jimiocompat.h')
-rw-r--r-- | jimiocompat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jimiocompat.h b/jimiocompat.h index 0837b73..5cbcde8 100644 --- a/jimiocompat.h +++ b/jimiocompat.h @@ -87,6 +87,9 @@ int Jim_OpenForRead(const char *filename); #define Jim_FileStat fstat #endif #if defined(HAVE_LSTAT) + #if !HAVE_DECL_LSTAT + int lstat (const char *__path, struct stat *__buf ); + #endif #define Jim_LinkStat lstat #endif #endif @@ -123,4 +126,8 @@ int Jim_OpenForRead(const char *filename); */ int Jim_FileStoreStatData(Jim_Interp *interp, Jim_Obj *varName, const jim_stat_t *sb); +#ifndef HAVE_ACCESS +int access(const char *path, int mode); +#endif + #endif |