summaryrefslogtreecommitdiff
path: root/src/network_freebsd_sendfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network_freebsd_sendfile.c')
-rw-r--r--src/network_freebsd_sendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network_freebsd_sendfile.c b/src/network_freebsd_sendfile.c
index 819d16f..b6b1abe 100644
--- a/src/network_freebsd_sendfile.c
+++ b/src/network_freebsd_sendfile.c
@@ -25,7 +25,7 @@
#ifndef UIO_MAXIOV
-# ifdef __FreeBSD__
+# if defined(__FreeBSD__) || defined(__DragonFly__)
/* FreeBSD 4.7, 4.9 defined it in sys/uio.h only if _KERNEL is specified */
# define UIO_MAXIOV 1024
# endif