xref: /plan9/sys/src/ape/cmd/pdksh/ksh_times.h (revision 7dd7cddf99dd7472612f1413b4da293630e6b1bc)
1 #ifndef KSH_TIMES_H
2 # define KSH_TIMES_H
3 
4 /* Needed for clock_t on some systems (ie, NeXT in non-posix mode) */
5 #include "ksh_time.h"
6 
7 #include <sys/times.h>
8 
9 #ifdef TIMES_BROKEN
10 extern clock_t	ksh_times ARGS((struct tms *));
11 #else /* TIMES_BROKEN */
12 # define ksh_times times
13 #endif /* TIMES_BROKEN */
14 
15 #ifdef HAVE_TIMES
16 extern clock_t	times ARGS((struct tms *));
17 #endif /* HAVE_TIMES */
18 #endif /* KSH_TIMES_H */
19