fix errno for posix_openpt with no free ptys available
[musl] / src / thread / sem_open.c
index 1bd8020..de8555c 100644 (file)
@@ -11,7 +11,7 @@
 #include <sys/stat.h>
 #include <stdlib.h>
 #include <pthread.h>
-#include "libc.h"
+#include "lock.h"
 
 static struct {
        ino_t ino;