Parcourir la source

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 il y a 14 ans
Parent
commit
d8d19f4d46
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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