From a9311ebfe7a28f5f5ac79a9779ab6bd0faeebe49 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 2 Jun 2012 13:02:21 +1000 Subject: 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 --- source3/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/wscript b/source3/wscript index e9d971a3be..b08fc77d17 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.... -- cgit