summaryrefslogtreecommitdiffstats
path: root/libc/kernel/arch-arm/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/arch-arm/asm/unistd.h')
-rw-r--r--libc/kernel/arch-arm/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/kernel/arch-arm/asm/unistd.h b/libc/kernel/arch-arm/asm/unistd.h
index 454ed89..b3d75ca 100644
--- a/libc/kernel/arch-arm/asm/unistd.h
+++ b/libc/kernel/arch-arm/asm/unistd.h
@@ -466,7 +466,7 @@
#define __ARM_NR_usr32 (__ARM_NR_BASE+4)
#define __ARM_NR_set_tls (__ARM_NR_BASE+5)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#ifdef __ARM_EABI__
+#if defined(__ARM_EABI__) && !defined(__KERNEL__)
#undef __NR_time
#undef __NR_umount
#undef __NR_stime