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