2004-12-10 19:12:32 +01:00
|
|
|
/** $MirBSD: src/bin/ksh/ksh_times.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */
|
2004-09-21 13:57:17 +02:00
|
|
|
/* $OpenBSD: ksh_times.h,v 1.2 1996/10/01 02:05:41 downsj Exp $ */
|
2003-03-22 18:35:03 +01:00
|
|
|
|
|
|
|
#ifndef KSH_TIMES_H
|
2004-10-28 13:53:44 +02:00
|
|
|
#define KSH_TIMES_H
|
2003-03-22 18:35:03 +01:00
|
|
|
|
|
|
|
/* Needed for clock_t on some systems (ie, NeXT in non-posix mode) */
|
|
|
|
#include "ksh_time.h"
|
|
|
|
|
|
|
|
#include <sys/times.h>
|
|
|
|
|
|
|
|
#ifdef TIMES_BROKEN
|
2004-10-28 13:11:19 +02:00
|
|
|
extern clock_t ksh_times(struct tms *);
|
2003-03-22 18:35:03 +01:00
|
|
|
#else /* TIMES_BROKEN */
|
|
|
|
# define ksh_times times
|
|
|
|
#endif /* TIMES_BROKEN */
|
|
|
|
|
|
|
|
#ifdef HAVE_TIMES
|
2004-10-28 13:11:19 +02:00
|
|
|
extern clock_t times(struct tms *);
|
2003-03-22 18:35:03 +01:00
|
|
|
#endif /* HAVE_TIMES */
|
2004-10-28 13:53:44 +02:00
|
|
|
|
2003-03-22 18:35:03 +01:00
|
|
|
#endif /* KSH_TIMES_H */
|