From f486c8ba614cefab645546568ccc541349e77f5b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 22 Mar 2011 00:19:24 +0100 Subject: clock_getres.c: include unistd.h unless syscall is defined Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/clock_getres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps') 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 #include -#include #ifdef __NR_clock_getres _syscall2(int, clock_getres, clockid_t, clock_id, struct timespec*, res) #else +# include int clock_getres(clockid_t clock_id, struct timespec* res) { -- cgit v1.2.3