2004-10-28 13:53:44 +02:00
|
|
|
/** $MirBSD: ksh_time.h,v 1.5 2004/10/28 11:53:42 tg Exp $ */
|
2004-09-21 13:57:17 +02:00
|
|
|
/* $OpenBSD: ksh_time.h,v 1.2 1996/10/01 02:05:40 downsj Exp $ */
|
2003-03-22 18:35:03 +01:00
|
|
|
|
|
|
|
#ifndef KSH_TIME_H
|
2004-10-28 13:53:44 +02:00
|
|
|
#define KSH_TIME_H
|
2003-03-22 18:35:03 +01:00
|
|
|
|
|
|
|
/* Wrapper around the ugly time.h,sys/time.h includes/ifdefs */
|
|
|
|
|
|
|
|
#ifdef TIME_WITH_SYS_TIME
|
|
|
|
# include <sys/time.h>
|
|
|
|
# include <time.h>
|
|
|
|
#else /* TIME_WITH_SYS_TIME */
|
|
|
|
# ifdef HAVE_SYS_TIME_H
|
|
|
|
# include <sys/time.h>
|
|
|
|
# else
|
|
|
|
# include <time.h>
|
|
|
|
# endif
|
|
|
|
#endif /* TIME_WITH_SYS_TIME */
|
|
|
|
|
|
|
|
#ifndef TIME_DECLARED
|
2004-10-28 13:11:19 +02:00
|
|
|
extern time_t time(time_t *);
|
2003-03-22 18:35:03 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CLK_TCK
|
|
|
|
# define CLK_TCK 60 /* 60HZ */
|
|
|
|
#endif
|
2004-10-28 13:53:44 +02:00
|
|
|
|
2003-03-22 18:35:03 +01:00
|
|
|
#endif /* KSH_TIME_H */
|