diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-22 00:19:24 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:31 +0200 |
commit | f486c8ba614cefab645546568ccc541349e77f5b (patch) | |
tree | 769e37810306fe51451dc16d001c442860727ad5 /libc/sysdeps/linux/common | |
parent | 8396ab5eef50a85469ce932e28ba4afe4f6ef668 (diff) |
clock_getres.c: include unistd.h unless syscall is defined
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/clock_getres.c | 2 |
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) { |