Browse Source

make sure we include pthread.h to define pthread_attr_t

Mike Frysinger 20 years ago
parent
commit
22be0d39e9
1 changed files with 1 additions and 0 deletions
  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;