From: Rich Felker Date: Sun, 13 Mar 2011 02:54:19 +0000 (-0500) Subject: pthread.h needs clockid_t X-Git-Tag: v0.7.1~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d8d19f4d46284d5b6124710a5235b6fe090c013f;p=oweals%2Fmusl.git pthread.h needs clockid_t actually it gets this from time.h if _POSIX_C_SOURCE or any other feature test macros are defined, but it breaks if they're not. --- diff --git a/include/pthread.h b/include/pthread.h index a47406aa..d40002e6 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -5,6 +5,7 @@ extern "C" { #endif #define __NEED_time_t +#define __NEED_clockid_t #define __NEED_struct_timespec #define __NEED_sigset_t #define __NEED_pthread_t