diff options
| author | tnn <tnn@pkgsrc.org> | 2008-05-23 17:15:14 +0000 |
|---|---|---|
| committer | tnn <tnn@pkgsrc.org> | 2008-05-23 17:15:14 +0000 |
| commit | 8ca66f5d839af263bb04b4bc1e281dfc372043b5 (patch) | |
| tree | a7ba750f0b8b832b526df15d6fa2caa48e8927e0 /shells/pdksh/files/ksh_time.h | |
| parent | 8a311b3069ee79731eec38ca13eb13772cc49223 (diff) | |
| download | pkgsrc-MRENDEL.tar.gz | |
Import subset of pdksh-5.2.14 distribution.MRENDEL
Only the files required to build it, for pkgsrc bootstrap purposes.
Diffstat (limited to 'shells/pdksh/files/ksh_time.h')
| -rw-r--r-- | shells/pdksh/files/ksh_time.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/shells/pdksh/files/ksh_time.h b/shells/pdksh/files/ksh_time.h new file mode 100644 index 00000000000..9f5e63b13ba --- /dev/null +++ b/shells/pdksh/files/ksh_time.h @@ -0,0 +1,25 @@ +#ifndef KSH_TIME_H +# define KSH_TIME_H + +/* Wrapper around the ugly time.h,sys/time.h includes/ifdefs */ +/* $Id: ksh_time.h,v 1.1.1.1 2008/05/23 17:15:20 tnn Exp $ */ + +#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 +#endif /* KSH_TIME_H */ |
