From aa6a882b99e83649d57e67d0b28601d90b90cbae Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sat, 16 Apr 2011 13:10:11 +0200
Subject: [PATCH 293/396] time.c: move included header for fallback case

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/sysdeps/linux/common/time.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/libc/sysdeps/linux/common/time.c b/libc/sysdeps/linux/common/time.c
index e13b44f..cd87fb3 100644
--- a/libc/sysdeps/linux/common/time.c
+++ b/libc/sysdeps/linux/common/time.c
@@ -9,12 +9,11 @@
 
 #include <sys/syscall.h>
 #include <time.h>
-#include <sys/time.h>
-
 
 #ifdef __NR_time
 _syscall_noerr1(time_t, time, time_t *, t)
 #else
+# include <sys/time.h>
 time_t time(time_t * t)
 {
 	time_t result;
@@ -25,9 +24,8 @@ time_t time(time_t * t)
 	 */
 	gettimeofday(&tv, NULL);
 	result = (time_t) tv.tv_sec;
-	if (t != NULL) {
+	if (t != NULL)
 		*t = result;
-	}
 	return result;
 }
 #endif
-- 
1.7.0.4

