projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 6.1 - patch 20181229
[ncurses.git]
/
test
/
tclock.c
diff --git
a/test/tclock.c
b/test/tclock.c
index 42cb8cf7269b5bd3495978aa947490e9f5f526b3..23456a4372f30718dc5d90b9de58b7c94410b911 100644
(file)
--- a/
test/tclock.c
+++ b/
test/tclock.c
@@
-1,22
+1,12
@@
-/* $Id: tclock.c,v 1.3
8 2017/09/09 00:37:06
tom Exp $ */
+/* $Id: tclock.c,v 1.3
9 2018/12/29 17:23:42
tom Exp $ */
+#define NEED_TIME_H
#include <test.priv.h>
#if HAVE_MATH_H
#include <math.h>
#include <test.priv.h>
#if HAVE_MATH_H
#include <math.h>
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
/*
tclock - analog/digital clock for curses.
If it gives you joy, then
/*
tclock - analog/digital clock for curses.
If it gives you joy, then