summaryrefslogtreecommitdiff
path: root/libc/misc/glob/glob64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/glob/glob64.c')
-rw-r--r--libc/misc/glob/glob64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/glob/glob64.c b/libc/misc/glob/glob64.c
index 5829fec14..17e6838aa 100644
--- a/libc/misc/glob/glob64.c
+++ b/libc/misc/glob/glob64.c
@@ -19,7 +19,7 @@
#include <sys/stat.h>
#define dirent dirent64
-#define readdir(dirp) readdir64 (dirp)
+#define __readdir(dirp) __readdir64(dirp)
#define glob_t glob64_t
#define glob(pattern, flags, errfunc, pglob) \
@@ -28,7 +28,7 @@
#undef stat
#define stat stat64
-#define lstat lstat64
+#define __lstat __lstat64
#define __GLOB64 1