summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/stat.c')
-rw-r--r--libc/sysdeps/linux/common/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/stat.c b/libc/sysdeps/linux/common/stat.c
index 0abd345bc..7e7fe6bec 100644
--- a/libc/sysdeps/linux/common/stat.c
+++ b/libc/sysdeps/linux/common/stat.c
@@ -14,6 +14,8 @@
#include "xstatconv.h"
#define __NR___syscall_stat __NR_stat
+#undef __stat
+#undef stat
static inline _syscall2(int, __syscall_stat,
const char *, file_name, struct kernel_stat *, buf);