reduce spurious inclusion of libc.h
[musl] / src / stdio / open_memstream.c
index 40f5ad6..600d277 100644 (file)
@@ -2,6 +2,8 @@
 #include <errno.h>
 #include <limits.h>
 #include <string.h>
+#include <stdlib.h>
+#include "libc.h"
 
 struct cookie {
        char **bufp;