aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/preadv2.c1
-rw-r--r--misc/preadv64v2.c1
-rw-r--r--misc/pwritev2.c1
-rw-r--r--misc/pwritev64v2.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/misc/preadv2.c b/misc/preadv2.c
index a62dcaa..fe37940 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. */
diff --git a/misc/preadv64v2.c b/misc/preadv64v2.c
index a802c2f..e0f05a5 100644
--- a/misc/preadv64v2.c
+++ b/misc/preadv64v2.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 preadv64 but with an addional flag argument. */
diff --git a/misc/pwritev2.c b/misc/pwritev2.c
index b9e0727..ead8447 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. */
diff --git a/misc/pwritev64v2.c b/misc/pwritev64v2.c
index 1f874f0..c72689c 100644
--- a/misc/pwritev64v2.c
+++ b/misc/pwritev64v2.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 preadv64 but with an addional flag argument. */