summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/glob/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c
index 178b4271a..1bbfa3cfe 100644
--- a/libc/misc/glob/glob.c
+++ b/libc/misc/glob/glob.c
@@ -361,7 +361,7 @@ static int glob_in_dir (const char *pattern, const char *directory, int flags,
{
const char *name;
size_t len;
-#if defined COMPILE_GLOB64
+#if defined __UCLIBC_HAS_LFS__ && !defined COMPILE_GLOB64
struct dirent64 *d;
union
{