summaryrefslogtreecommitdiff
path: root/misc/pwritev2.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/pwritev2.c')
-rw-r--r--misc/pwritev2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/pwritev2.c b/misc/pwritev2.c
index b9e07272da..ead84471fc 100644
--- a/misc/pwritev2.c
+++ b/misc/pwritev2.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 pwritev but with an additional flags argument. */