From: Andrew Bartlett Date: Sat, 2 Jun 2012 03:02:21 +0000 (+1000) Subject: build: Check correctly for sendfile (missing .h in header) X-Git-Tag: samba-4.0.0beta1~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9311ebfe7a28f5f5ac79a9779ab6bd0faeebe49;p=thirdparty%2Fsamba.git build: Check correctly for sendfile (missing .h in header) This will hopefully fix the build on SLES8, which does not support 64-bit sendfile. Andrew Bartlett --- diff --git a/source3/wscript b/source3/wscript index e9d971a3be0..b08fc77d17a 100755 --- a/source3/wscript +++ b/source3/wscript @@ -941,7 +941,7 @@ main() { ssize_t nwritten = sendfile(tofd, fromfd, &offset, total); ''', '_HAVE_SENDFILE', - headers='sys/sendfile', + headers='sys/sendfile.h', msg='Checking for linux sendfile support') # Try and cope with broken Linux sendfile....