소스 검색

make sure we include pthread.h to define pthread_attr_t

Mike Frysinger 21 년 전
부모
커밋
22be0d39e9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      librt/kernel-posix-timers.h

+ 1 - 0
librt/kernel-posix-timers.h

@@ -5,6 +5,7 @@
 #include <setjmp.h>
 #include <setjmp.h>
 #include <signal.h>
 #include <signal.h>
 #include <sys/types.h>
 #include <sys/types.h>
+#include <pthread.h>
 
 
 /* Type of timers in the kernel */
 /* Type of timers in the kernel */
 typedef int kernel_timer_t;
 typedef int kernel_timer_t;