Explorar o código

make sure we include pthread.h to define pthread_attr_t

Mike Frysinger %!s(int64=21) %!d(string=hai) anos
pai
achega
22be0d39e9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      librt/kernel-posix-timers.h

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

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