summaryrefslogtreecommitdiff
path: root/libc/misc/glob
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-11 09:19:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-11 09:19:19 +0000
commit5ab11964a80debf091ff65ad15938b628ab9f597 (patch)
tree8986bd1f80f513703bc366b407d418ce7739c782 /libc/misc/glob
parentc6a87471fea3a5684081a674931f5e11d4f7865f (diff)
Sync w/ dirent.h, s:HAVE_D_NAMLEN:_DIRENT_HAVE_D_NAMLEN:
Diffstat (limited to 'libc/misc/glob')
-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 a93cf0ab4..0d788df53 100644
--- a/libc/misc/glob/glob.c
+++ b/libc/misc/glob/glob.c
@@ -426,7 +426,7 @@ glob_in_dir (pattern, directory, flags, errfunc, pglob)
if (! (d->d_ino != 0))
continue;
name = d->d_name;
-#ifdef HAVE_D_NAMLEN
+#ifdef _DIRENT_HAVE_D_NAMLEN
len = d->d_namlen;
#else
len = 0;