diff --git a/src/xpdev/sockwrap.c b/src/xpdev/sockwrap.c index 01a32e847ca4e377b986c5e2d000c4f2e1e8fd4c..38ce8bf83c335142012c4d2536f8658727f8b966 100644 --- a/src/xpdev/sockwrap.c +++ b/src/xpdev/sockwrap.c @@ -49,7 +49,8 @@ int sendfilesocket(int sock, int file, long *offset, long count) { /* sendfile() on Linux may or may not work with non-blocking sockets ToDo */ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) && 0 +#warning FreeBSD sendfile may cause problems! off_t total=0; off_t wr=0; int i;