=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/time.h,v retrieving revision 1.31 retrieving revision 1.32 diff -c -r1.31 -r1.32 *** src/include/time.h 2018/10/30 16:28:42 1.31 --- src/include/time.h 2022/10/25 16:30:30 1.32 *************** *** 1,4 **** ! /* $OpenBSD: time.h,v 1.31 2018/10/30 16:28:42 guenther Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: time.h,v 1.32 2022/10/25 16:30:30 millert Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* *************** *** 44,49 **** --- 44,50 ---- #include #include #include + #include #ifndef _CLOCK_T_DEFINED_ #define _CLOCK_T_DEFINED_ *************** *** 68,88 **** #define CLK_TCK 100 #endif - #define CLOCKS_PER_SEC 100 /* frequency of ticks reported by clock(). */ - - #if __POSIX_VISIBLE >= 199309 || __ISO_C_VISIBLE >= 2011 - #ifndef _TIMESPEC_DECLARED - #define _TIMESPEC_DECLARED - struct timespec { - time_t tv_sec; /* seconds */ - long tv_nsec; /* and nanoseconds */ - }; - #endif - #endif - #if __POSIX_VISIBLE >= 199309 - #include - #ifndef _CLOCKID_T_DEFINED_ #define _CLOCKID_T_DEFINED_ typedef __clockid_t clockid_t; --- 69,75 ----