fix usage of locks with vfork
[musl] / src / stdio / __toread.c
index c2ae80f..2e804f6 100644 (file)
@@ -16,6 +16,8 @@ int __toread(FILE *f)
 static const int dummy = 0;
 weak_alias(dummy, __towrite_used);
 
+void __stdio_exit(void);
+
 void __seek_on_exit()
 {
        if (!__towrite_used) __stdio_exit();