fix popen not to leak pipes from one child to another
[musl] / src / stdio / tmpfile.c
index 7013f64..ae49398 100644 (file)
@@ -2,7 +2,6 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include "stdio_impl.h"
-#include "libc.h"
 
 #define MAXTRIES 100
 
@@ -29,4 +28,4 @@ FILE *tmpfile(void)
        return 0;
 }
 
-LFS64(tmpfile);
+weak_alias(tmpfile, tmpfile64);