summaryrefslogtreecommitdiff
path: root/libeio.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libeio.m4')
-rw-r--r--libeio.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/libeio.m4 b/libeio.m4
index c3efcd2..e80e008 100644
--- a/libeio.m4
+++ b/libeio.m4
@@ -64,7 +64,7 @@ AC_CACHE_CHECK(for sendfile, ac_cv_sendfile, [AC_LINK_IFELSE([
# include <sys/types.h>
#if __linux
# include <sys/sendfile.h>
-#elif __freebsd
+#elif __freebsd || defined __APPLE__
# include <sys/socket.h>
# include <sys/uio.h>
#elif __hpux