summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-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)
{