summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/clock_getres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/clock_getres.c b/libc/sysdeps/linux/common/clock_getres.c
index 61413b6c4..532047ede 100644
--- a/libc/sysdeps/linux/common/clock_getres.c
+++ b/libc/sysdeps/linux/common/clock_getres.c
@@ -9,11 +9,11 @@
#include <sys/syscall.h>
#include <time.h>
-#include <unistd.h>
#ifdef __NR_clock_getres
_syscall2(int, clock_getres, clockid_t, clock_id, struct timespec*, res)
#else
+# include <unistd.h>
int clock_getres(clockid_t clock_id, struct timespec* res)
{