summaryrefslogtreecommitdiff
authorTanguy Pruvot <tanguy.pruvot@gmail.com>2012-07-14 00:03:46 (GMT)
committer Tanguy Pruvot <tanguy.pruvot@gmail.com>2012-07-14 00:36:53 (GMT)
commit2db51700b9b69ffd5598007469ffb9c3bf930e57 (patch)
tree3159706aed3118327f5a7182fa762073e270723d
parent301d3117c7766419305a3599e20895001685b7fc (diff)
downloadbusybox-2db51700b9b69ffd5598007469ffb9c3bf930e57.zip
busybox-2db51700b9b69ffd5598007469ffb9c3bf930e57.tar.gz
busybox-2db51700b9b69ffd5598007469ffb9c3bf930e57.tar.bz2
fix stime syscall for aosp jb define
Change-Id: I7bcceee10aa3c267e7b1647c99ba83f1f16a89a1
Diffstat
-rw-r--r--android/libc/arch-arm/syscalls/stime.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/libc/arch-arm/syscalls/stime.S b/android/libc/arch-arm/syscalls/stime.S
index 42f053d..ef80e1b 100644
--- a/android/libc/arch-arm/syscalls/stime.S
+++ b/android/libc/arch-arm/syscalls/stime.S
@@ -3,6 +3,10 @@
#include <asm/unistd.h>
#include <sys/linux-syscalls.h>
+#ifndef __NR_stime
+#define __NR_stime (__NR_SYSCALL_BASE + 25)
+#endif
+
.text
.type stime, #function
.globl stime