summaryrefslogtreecommitdiff
path: root/src/network_backends.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network_backends.h')
-rw-r--r--src/network_backends.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network_backends.h b/src/network_backends.h
index 94650a7..3cb36af 100644
--- a/src/network_backends.h
+++ b/src/network_backends.h
@@ -14,7 +14,7 @@
# include <sys/uio.h>
#endif
-#if defined HAVE_SYS_UIO_H && defined HAVE_SENDFILE && defined HAVE_WRITEV && defined(__FreeBSD__)
+#if defined HAVE_SYS_UIO_H && defined HAVE_SENDFILE && defined HAVE_WRITEV && (defined(__FreeBSD__) || defined(__DragonFly__))
# define USE_FREEBSD_SENDFILE
# include <sys/uio.h>
#endif