aboutsummaryrefslogtreecommitdiff
path: root/misc/preadv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/preadv2.c')
-rw-r--r--misc/preadv2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/preadv2.c b/misc/preadv2.c
index a62dcaa699..fe379401ee 100644
--- a/misc/preadv2.c
+++ b/misc/preadv2.c
@@ -16,6 +16,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <errno.h>
#include <sys/uio.h>
/* Same as preadv but with an additional flags argument. */