$NetBSD: patch-ae,v 1.6 2010/08/28 20:08:40 adam Exp $ --- src/network_worker.cpp.orig 2010-01-01 13:16:49.000000000 +0000 +++ src/network_worker.cpp @@ -37,6 +37,10 @@ #include #include +#if defined(__FreeBSD__) || defined(__DragonFly__) +#undef HAVE_SENDFILE +#endif + #ifdef HAVE_SENDFILE #include #include