diff options
Diffstat (limited to 'include/ftw.h')
-rw-r--r-- | include/ftw.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ftw.h b/include/ftw.h index 9bb38c77..ffbddfa7 100644 --- a/include/ftw.h +++ b/include/ftw.h @@ -32,6 +32,11 @@ struct FTW int ftw(const char *, int (*)(const char *, const struct stat *, int), int); int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int); +#ifdef _LARGEFILE64_SOURCE +#define ftw64 ftw +#define nftw64 nftw +#endif + #ifdef __cplusplus } #endif |