about summary refs log tree commit diff
path: root/libio/tst-memstream3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-memstream3.c')
-rw-r--r--libio/tst-memstream3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/tst-memstream3.c b/libio/tst-memstream3.c
index d8c82d74cd..ce201d15eb 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>