NetBSD/bin/ksh/ksh_time.h

28 lines
592 B
C
Raw Normal View History

1997-01-12 22:11:37 +03:00
/* $NetBSD: ksh_time.h,v 1.2 1997/01/12 19:12:01 tls Exp $ */
1996-10-09 19:12:31 +04:00
#ifndef KSH_TIME_H
# define KSH_TIME_H
1996-09-22 03:35:13 +04:00
/* Wrapper around the ugly time.h,sys/time.h includes/ifdefs */
1997-01-12 22:11:37 +03:00
/* $NetBSD: ksh_time.h,v 1.2 1997/01/12 19:12:01 tls Exp $ */
1996-09-22 03:35:13 +04:00
#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
extern time_t time ARGS((time_t *));
#endif
#ifndef CLK_TCK
# define CLK_TCK 60 /* 60HZ */
#endif
1996-10-09 19:12:31 +04:00
#endif /* KSH_TIME_H */