Hi Joerg Luehmann,
Yes, in AIX we do not have sys/sendfile.h. This is a part of glibc in Linux. I checked the code to see what is going on.
If you are using sendfile () in Linux, I think then AIX has a similar function in send_file() via /usr/include/sys/socket.h.
All you need to do is change sendfile() to send_file() and include that file. [#include <sys/socket.h>]
You may want to check that out and try?? Hope this is useful.
------------------------------
Aditya Kamath
------------------------------