summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/stime.c')
-rw-r--r--libc/sysdeps/linux/common/stime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/stime.c b/libc/sysdeps/linux/common/stime.c
index 9f9615d3e..387122ff3 100644
--- a/libc/sysdeps/linux/common/stime.c
+++ b/libc/sysdeps/linux/common/stime.c
@@ -10,6 +10,8 @@
#include "syscalls.h"
#include <time.h>
#include <sys/time.h>
+
+#ifdef __USE_SVID
#ifdef __NR_stime
_syscall1(int, stime, const time_t *, t);
#else
@@ -28,3 +30,4 @@ int stime(const time_t * when)
return settimeofday(&tv, (struct timezone *) 0);
}
#endif
+#endif