From 35a2f69300e734ef33711f1d7df47d33e9a7e840 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Tue, 22 Mar 2011 00:19:24 +0100
Subject: [PATCH 163/396] clock_getres.c: include unistd.h only the syscall is not defined

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 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 61413b6..532047e 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)
 {
-- 
1.7.0.4

