- Handle DragonFlyBSD the same way as Freebsd.

Patch by Jörg Sonnenberger

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1492 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.14
Marcus Rückert 16 years ago
parent 36544e2186
commit 4fe6745364
  1. 2
      src/network_backends.h
  2. 2
      src/network_freebsd_sendfile.c

@ -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

@ -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

Loading…
Cancel
Save