OSDN Git Service

make sure we include pthread.h to define pthread_attr_t
authorMike Frysinger <vapier@gentoo.org>
Tue, 18 Jan 2005 04:26:49 +0000 (04:26 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 18 Jan 2005 04:26:49 +0000 (04:26 -0000)
librt/kernel-posix-timers.h

index 9a538c7..5724af0 100644 (file)
@@ -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;