summaryrefslogtreecommitdiff
path: root/www/lighttpd/patches/patch-aa
blob: 233f639e7c3b7ba27edb632fd1fc315294709689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.5 2006/12/22 21:07:11 joerg Exp $

--- src/network_backends.h.orig	2006-12-22 20:42:35.000000000 +0000
+++ 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