xref: /csrg-svn/share/zoneinfo/DIST/time.h (revision 39987)
1*39987Sbostic #ifndef lint
2*39987Sbostic #ifndef NOID
3*39987Sbostic #ifndef TIME_H
4*39987Sbostic #define TIME_H
5*39987Sbostic static char	timehid[] = "@(#)time.h	4.2";
6*39987Sbostic #endif /* !defined TIME_H */
7*39987Sbostic #endif /* !defined NOID */
8*39987Sbostic #endif /* !defined lint */
9*39987Sbostic 
10*39987Sbostic #ifdef TIME_RECURSING
11*39987Sbostic #include "/usr/include/time.h"
12*39987Sbostic #else /* !defined TIME_RECURSING */
13*39987Sbostic #define TIME_RECURSING
14*39987Sbostic #include <time.h>
15*39987Sbostic #undef TIME_RECURSING
16*39987Sbostic #endif /* !defined TIME_RECURSING */
17*39987Sbostic 
18*39987Sbostic #ifndef __STDC__
19*39987Sbostic 
20*39987Sbostic #ifndef time_t
21*39987Sbostic #ifdef unix
22*39987Sbostic #include <sys/types.h>
23*39987Sbostic #else /* !defined unix */
24*39987Sbostic typedef long	time_t;
25*39987Sbostic #endif /* !defined unix */
26*39987Sbostic #endif /* !defined time_t */
27*39987Sbostic 
28*39987Sbostic extern time_t	time();
29*39987Sbostic 
30*39987Sbostic #endif /* !defined __STDC__ */
31*39987Sbostic 
32*39987Sbostic #ifdef __GNUC__
33*39987Sbostic 
34*39987Sbostic #ifndef time_t
35*39987Sbostic #ifdef unix
36*39987Sbostic #include <sys/types.h>
37*39987Sbostic #else /* !defined unix */
38*39987Sbostic typedef long	time_t;
39*39987Sbostic #endif /* !defined unix */
40*39987Sbostic #endif /* !defined time_t */
41*39987Sbostic 
42*39987Sbostic extern time_t	time();
43*39987Sbostic 
44*39987Sbostic #endif /* defined __GNUC__ */
45*39987Sbostic 
46*39987Sbostic /*
47*39987Sbostic ** UNIX is a registered trademark of AT&T.
48*39987Sbostic */
49