xref: /plan9/sys/src/ape/cmd/pdksh/ksh_time.h (revision 7dd7cddf99dd7472612f1413b4da293630e6b1bc)
1 #ifndef KSH_TIME_H
2 # define KSH_TIME_H
3 
4 /* Wrapper around the ugly time.h,sys/time.h includes/ifdefs */
5 /* $Id$ */
6 
7 #ifdef TIME_WITH_SYS_TIME
8 # include <sys/time.h>
9 # include <time.h>
10 #else /* TIME_WITH_SYS_TIME */
11 # ifdef HAVE_SYS_TIME_H
12 #  include <sys/time.h>
13 # else
14 #  include <time.h>
15 # endif
16 #endif /* TIME_WITH_SYS_TIME */
17 
18 #ifndef TIME_DECLARED
19 extern time_t time ARGS((time_t *));
20 #endif
21 
22 #ifndef CLK_TCK
23 # define CLK_TCK 60			/* 60HZ */
24 #endif
25 #endif /* KSH_TIME_H */
26