浏览代码

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 年之前
父节点
当前提交
d8d19f4d46
共有 1 个文件被更改,包括 1 次插入0 次删除
  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