use direct syscall rather than write function in posix_spawn child
[musl] / src / stdio / fgetln.c
index 06b8883..afe12b5 100644 (file)
@@ -1,4 +1,6 @@
+#define _GNU_SOURCE
 #include "stdio_impl.h"
+#include <string.h>
 
 char *fgetln(FILE *f, size_t *plen)
 {