… | … | ||
---|---|---|---|
62 | 62 | ||
63 | AC_CACHE_CHECK(for sendfile, ac_cv_sendfile, [AC_LINK_IFELSE([ | 63 | AC_CACHE_CHECK(for sendfile, ac_cv_sendfile, [AC_LINK_IFELSE([ |
64 | # include <sys/types.h> | 64 | # include <sys/types.h> |
65 | #if __linux | 65 | #if __linux |
66 | # include <sys/sendfile.h> | 66 | # include <sys/sendfile.h> |
67 | #elif __freebsd | 67 | #elif __freebsd || defined __APPLE__ |
68 | # include <sys/socket.h> | 68 | # include <sys/socket.h> |
69 | # include <sys/uio.h> | 69 | # include <sys/uio.h> |
70 | #elif __hpux | 70 | #elif __hpux |
71 | # include <sys/socket.h> | 71 | # include <sys/socket.h> |
72 | #else | 72 | #else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |