diff --git a/trysendfile.c b/trysendfile.c index 6b7e544..7e26726 100644 --- a/trysendfile.c +++ b/trysendfile.c @@ -59,6 +59,8 @@ int main() { #elif defined(__linux__) #define _FILE_OFFSET_BITS 64 +#include +#include #if defined(__GLIBC__) #include #elif defined(__dietlibc__) @@ -67,6 +69,7 @@ int main() { #include _syscall4(int,sendfile,int,out,int,in,long *,offset,unsigned long,count) #endif +#include int main() { int fd=open("havesendfile.c",0);