xref: /minix3/bin/ksh/ksh_times.h (revision 2718b5688b1550d32bf379153192626eee37752d)
1 /*	$NetBSD: ksh_times.h,v 1.2 1997/01/12 19:12:02 tls Exp $	*/
2 
3 #ifndef KSH_TIMES_H
4 # define KSH_TIMES_H
5 
6 /* Needed for clock_t on some systems (ie, NeXT in non-posix mode) */
7 #include "ksh_time.h"
8 
9 #include <sys/times.h>
10 
11 #ifdef TIMES_BROKEN
12 extern clock_t	ksh_times ARGS((struct tms *));
13 #else /* TIMES_BROKEN */
14 # define ksh_times times
15 #endif /* TIMES_BROKEN */
16 
17 #ifdef HAVE_TIMES
18 extern clock_t	times ARGS((struct tms *));
19 #endif /* HAVE_TIMES */
20 #endif /* KSH_TIMES_H */
21