Add files from parent branch HEAD:
[pkgsrc.git] / shells / pdksh / files / ksh_time.h
1 /*      $NetBSD: ksh_time.h,v 1.2 1997/01/12 19:12:01 tls Exp $ */
2
3 #ifndef KSH_TIME_H
4 # define KSH_TIME_H
5
6 /* Wrapper around the ugly time.h,sys/time.h includes/ifdefs */
7 /* $NetBSD: ksh_time.h,v 1.2 1997/01/12 19:12:01 tls Exp $ */
8
9 #ifdef TIME_WITH_SYS_TIME
10 # include <sys/time.h>
11 # include <time.h>
12 #else /* TIME_WITH_SYS_TIME */
13 # ifdef HAVE_SYS_TIME_H
14 #  include <sys/time.h>
15 # else
16 #  include <time.h>
17 # endif
18 #endif /* TIME_WITH_SYS_TIME */
19
20 #ifndef TIME_DECLARED
21 extern time_t time ARGS((time_t *));
22 #endif
23
24 #ifndef CLK_TCK
25 # define CLK_TCK 60                     /* 60HZ */
26 #endif
27 #endif /* KSH_TIME_H */