Pārlūkot izejas kodu

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.
Rich Felker 14 gadi atpakaļ
vecāks
revīzija
d8d19f4d46
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      include/pthread.h

+ 1 - 0
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