make sem_wait and sem_timedwait interruptible by signals
[musl] / src / stdio / ofl.c
index b143999..f2d3215 100644 (file)
@@ -1,8 +1,8 @@
 #include "stdio_impl.h"
-#include "libc.h"
+#include "lock.h"
 
 static FILE *ofl_head;
-static volatile int ofl_lock[2];
+static volatile int ofl_lock[1];
 
 FILE **__ofl_lock()
 {