Explorar el Código

make sure we include pthread.h to define pthread_attr_t

Mike Frysinger hace 21 años
padre
commit
22be0d39e9
Se han modificado 1 ficheros con 1 adiciones y 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;