=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/time.h,v retrieving revision 1.24 retrieving revision 1.25 diff -c -r1.24 -r1.25 *** src/include/time.h 2013/04/02 05:16:14 1.24 --- src/include/time.h 2013/06/17 19:11:54 1.25 *************** *** 1,4 **** ! /* $OpenBSD: time.h,v 1.24 2013/04/02 05:16:14 guenther Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: time.h,v 1.25 2013/06/17 19:11:54 guenther Exp $ */ /* $NetBSD: time.h,v 1.9 1994/10/26 00:56:35 cgd Exp $ */ /* *************** *** 101,106 **** --- 101,113 ---- #endif #endif + #if __POSIX_VISIBLE >= 200112 + #ifndef _PID_T_DEFINED_ + #define _PID_T_DEFINED_ + typedef __pid_t pid_t; + #endif + #endif + struct tm { int tm_sec; /* seconds after the minute [0-60] */ int tm_min; /* minutes after the hour [0-59] */ *************** *** 152,157 **** --- 159,168 ---- int clock_gettime(clockid_t, struct timespec *); int clock_settime(clockid_t, const struct timespec *); int nanosleep(const struct timespec *, struct timespec *); + #endif + + #if __POSIX_VISIBLE >= 200112 + int clock_getcpuclockid(pid_t, clockid_t *); #endif #if __BSD_VISIBLE