OS X has only nftw variant - not the 64 suffix used in xfs. Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx> --- include/darwin.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/darwin.h b/include/darwin.h index 72d9c1d..94e7551 100644 --- a/include/darwin.h +++ b/include/darwin.h @@ -163,4 +163,10 @@ platform_discard_blocks(int fd, uint64_t start, uint64_t len) return 0; } +static inline int nftw64(const char *path, int (*fn)(const char *, const struct stat *ptr, int flag, struct FTW *), int depth, + int flags) +{ + return nftw(path, fn, depth, flags); +} + #endif /* __XFS_DARWIN_H__ */ -- 2.4.5 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs