summaryrefslogtreecommitdiff
path: root/include/ftw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ftw.h')
-rw-r--r--include/ftw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ftw.h b/include/ftw.h
index ffbddfa7..e7e8fdee 100644
--- a/include/ftw.h
+++ b/include/ftw.h
@@ -32,7 +32,7 @@ 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
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define ftw64 ftw
#define nftw64 nftw
#endif