fix errno for posix_openpt with no free ptys available
[musl] / src / thread / pthread_kill.c
index 6d70e62..3d9395c 100644 (file)
@@ -1,4 +1,5 @@
 #include "pthread_impl.h"
+#include "lock.h"
 
 int pthread_kill(pthread_t t, int sig)
 {