aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/bug-memstream1.c1
-rw-r--r--libio/bug-wmemstream1.c1
-rw-r--r--libio/tst-fwrite-error.c1
-rw-r--r--libio/tst-memstream1.c1
-rw-r--r--libio/tst-memstream2.c1
-rw-r--r--libio/tst-memstream3.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/libio/bug-memstream1.c b/libio/bug-memstream1.c
index 8af36fe..d1ecc79 100644
--- a/libio/bug-memstream1.c
+++ b/libio/bug-memstream1.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
static int
diff --git a/libio/bug-wmemstream1.c b/libio/bug-wmemstream1.c
index 22d67f7..709a3c6 100644
--- a/libio/bug-wmemstream1.c
+++ b/libio/bug-wmemstream1.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <wchar.h>
diff --git a/libio/tst-fwrite-error.c b/libio/tst-fwrite-error.c
index d29df87..fa64d5f 100644
--- a/libio/tst-fwrite-error.c
+++ b/libio/tst-fwrite-error.c
@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <stdlib.h>
static int
do_test (void)
diff --git a/libio/tst-memstream1.c b/libio/tst-memstream1.c
index d18f5cc..adc2aec 100644
--- a/libio/tst-memstream1.c
+++ b/libio/tst-memstream1.c
@@ -1,5 +1,6 @@
#include <mcheck.h>
#include <stdio.h>
+#include <stdlib.h>
#ifndef CHAR_T
diff --git a/libio/tst-memstream2.c b/libio/tst-memstream2.c
index cbea4b2..d3874fa 100644
--- a/libio/tst-memstream2.c
+++ b/libio/tst-memstream2.c
@@ -1,5 +1,6 @@
#include <mcheck.h>
#include <stdio.h>
+#include <stdlib.h>
#ifndef CHAR_T
diff --git a/libio/tst-memstream3.c b/libio/tst-memstream3.c
index d8c82d7..ce201d1 100644
--- a/libio/tst-memstream3.c
+++ b/libio/tst-memstream3.c
@@ -18,6 +18,7 @@
#include <mcheck.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>