From ee7cd3e6b622a8c40236ac26270e369bc28af007 Mon Sep 17 00:00:00 2001 From: pk33 Date: Sun, 3 Nov 2024 01:39:28 +0100 Subject: modesetting tweaks --- musl/sys/sendfile.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 musl/sys/sendfile.h (limited to 'musl/sys/sendfile.h') diff --git a/musl/sys/sendfile.h b/musl/sys/sendfile.h new file mode 100644 index 0000000..253a041 --- /dev/null +++ b/musl/sys/sendfile.h @@ -0,0 +1,22 @@ +#ifndef _SYS_SENDFILE_H +#define _SYS_SENDFILE_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +ssize_t sendfile(int, int, off_t *, size_t); + +#if defined(_LARGEFILE64_SOURCE) +#define sendfile64 sendfile +#define off64_t off_t +#endif + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3