sci-libs/proj: x86 stable wrt bug #706146
[gentoo.git] / sys-process / latencytop / files / latencytop-0.5-fsync-fix-implicit-decl.patch
1 From 60427a259ba76b8238198e1f17a0c3b06491be3c Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Fri, 18 Dec 2009 10:48:39 -0500
4 Subject: [PATCH] fsync: fix implicit decl
5
6 fsync.c: In function 'fsync_display':
7 fsync.c:330: warning: implicit declaration of function 'gettimeofday'
8
9 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10 ---
11  src/fsync.c |    1 +
12  1 files changed, 1 insertions(+), 0 deletions(-)
13
14 diff --git a/src/fsync.c b/src/fsync.c
15 index 1706571..3bec719 100644
16 --- a/fsync.c
17 +++ b/fsync.c
18 @@ -30,6 +30,7 @@
19  #include <string.h>
20  #include <ncurses.h>
21  #include <time.h>
22 +#include <sys/time.h>
23  #include <wchar.h>
24  #include <ctype.h>
25  
26 -- 
27 1.6.5.4
28