summaryrefslogtreecommitdiff
path: root/include/sys/sendfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/sendfile.h')
-rw-r--r--include/sys/sendfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h
index ba9aa548..4bd3ec6c 100644
--- a/include/sys/sendfile.h
+++ b/include/sys/sendfile.h
@@ -9,7 +9,7 @@ extern "C" {
ssize_t sendfile(int, int, off_t *, size_t);
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define sendfile64 sendfile
#define off64_t off_t
#endif