aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/sendfile.c1
-rw-r--r--sysdeps/generic/sendfile64.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/sendfile.c b/sysdeps/generic/sendfile.c
index 0705493d7b..98dc9a814d 100644
--- a/sysdeps/generic/sendfile.c
+++ b/sysdeps/generic/sendfile.c
@@ -18,6 +18,7 @@
02111-1307 USA. */
#include <sys/sendfile.h>
+#include <errno.h>
/* Send COUNT bytes from file associated with IN_FD starting at OFFSET to
descriptor OUT_FD. */
diff --git a/sysdeps/generic/sendfile64.c b/sysdeps/generic/sendfile64.c
index 10643bd640..76b961e22a 100644
--- a/sysdeps/generic/sendfile64.c
+++ b/sysdeps/generic/sendfile64.c
@@ -18,6 +18,7 @@
02111-1307 USA. */
#include <sys/sendfile.h>
+#include <errno.h>
/* Send COUNT bytes from file associated with IN_FD starting at OFFSET to
descriptor OUT_FD. */