summaryrefslogtreecommitdiff
path: root/src/stdio/open_memstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/open_memstream.c')
-rw-r--r--src/stdio/open_memstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/open_memstream.c b/src/stdio/open_memstream.c
index 40f5ad60..600d2770 100644
--- a/src/stdio/open_memstream.c
+++ b/src/stdio/open_memstream.c
@@ -2,6 +2,8 @@
#include <errno.h>
#include <limits.h>
#include <string.h>
+#include <stdlib.h>
+#include "libc.h"
struct cookie {
char **bufp;