summaryrefslogtreecommitdiff
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/tst-fwrite-error.c b/libio/tst-fwrite-error.c
index 9bc740eed3..a8d91d9160 100644
--- a/libio/tst-fwrite-error.c
+++ b/libio/tst-fwrite-error.c
@@ -1,5 +1,5 @@
/* Test of fwrite() function, adapted from gnulib-tests in grep.
- Copyright (C) 2011-2016 Free Software Foundation, Inc.
+ Copyright (C) 2011-2018 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <stdlib.h>
static int
do_test (void)