diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:53 +0200 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:53 +0200 |
commit | f1ac7cde36451c55b640d5ba6e98c2a87ff5413f (patch) | |
tree | dac61be1d91006cdcb1b481f9a013c8da000d76b | |
parent | 8af783c75360a5a765755c41fc814c5b869846c6 (diff) |
xts5: Fix missing unistd.h include.
It's needed for sleep():
| CC gettime.lo
| gettime.c:159:23: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
| for (i=0; i<10; i++, sleep(2)) {
| ^
Signed-off-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r-- | xts5/src/lib/gettime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xts5/src/lib/gettime.c b/xts5/src/lib/gettime.c index 2fdd5059..e08b6590 100644 --- a/xts5/src/lib/gettime.c +++ b/xts5/src/lib/gettime.c @@ -115,6 +115,7 @@ purpose. It is provided "as is" without express or implied warranty. #include "X11/Xlib.h" #include "X11/Xutil.h" #include "X11/Xatom.h" +#include "unistd.h" #include "xtest.h" #include "xtestlib.h" #include "pixval.h" |