summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/lstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/lstat.c')
-rw-r--r--libc/sysdeps/linux/common/lstat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/lstat.c b/libc/sysdeps/linux/common/lstat.c
index 8cacd4e78..69d663d51 100644
--- a/libc/sysdeps/linux/common/lstat.c
+++ b/libc/sysdeps/linux/common/lstat.c
@@ -15,6 +15,8 @@
#include "xstatconv.h"
#define __NR___syscall_lstat __NR_lstat
+#undef __lstat
+#undef lstat
static inline _syscall2(int, __syscall_lstat,
const char *, file_name, struct kernel_stat *, buf);