summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/clock_settime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/clock_settime.c')
-rw-r--r--libc/sysdeps/linux/common/clock_settime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/clock_settime.c b/libc/sysdeps/linux/common/clock_settime.c
index 0c9c840ac..636f18417 100644
--- a/libc/sysdeps/linux/common/clock_settime.c
+++ b/libc/sysdeps/linux/common/clock_settime.c
@@ -9,11 +9,11 @@
#include <sys/syscall.h>
#include <time.h>
-#include <sys/time.h>
#ifdef __NR_clock_settime
_syscall2(int, clock_settime, clockid_t, clock_id, const struct timespec*, tp)
#else
+# include <sys/time.h>
int clock_settime(clockid_t clock_id, const struct timespec* tp)
{