summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/misc/ftw/ftw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/ftw/ftw.c b/libc/misc/ftw/ftw.c
index 605e07cd5..e58c3e6ca 100644
--- a/libc/misc/ftw/ftw.c
+++ b/libc/misc/ftw/ftw.c
@@ -23,7 +23,9 @@
#if defined (__UCLIBC_HAS_LFS__) && defined L_ftw64
+#ifndef L_ftw
#define L_ftw
+#endif
/* If Large file support is enabled, transparently remap
* things to use the 64-bit interfaces */