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