/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, propagated, or distributed except according to the terms contained * in the LICENSE file. */#ifndef KSH_TIME_H# define KSH_TIME_H/* Wrapper around the ugly time.h,sys/time.h includes/ifdefs *//* $Id$ */#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_DECLAREDextern time_t time ARGS((time_t *));#endif#ifndef CLK_TCK# define CLK_TCK 60 /* 60HZ */#endif#endif /* KSH_TIME_H */
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, propagated, or distributed except according to the terms contained
* in the LICENSE file.
*/
#ifndef KSH_TIME_H
# define KSH_TIME_H
/* Wrapper around the ugly time.h,sys/time.h includes/ifdefs */
/* $Id$ */
#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 */