I am using Mac OS 10.6.7,
The gcc compiler was already there when I bought Mac.
but when I try to include sys/sendfile.h
#include<sys/sendfile.h>
it throws an error
sys/sendfile.h: No such file or directory.
But this program works correctly in ubuntu GCC Compiler. Any idea how to fix this?