summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-02 13:02:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-02 05:34:08 +0200
commita9311ebfe7a28f5f5ac79a9779ab6bd0faeebe49 (patch)
tree5dcc62f6c7c24c683a4d423d9c438552b829e645 /source3/wscript
parent81a754fb6462bc9f6b4be6bc1ee04a85a85e1686 (diff)
downloadsamba-a9311ebfe7a28f5f5ac79a9779ab6bd0faeebe49.tar.gz
samba-a9311ebfe7a28f5f5ac79a9779ab6bd0faeebe49.tar.bz2
samba-a9311ebfe7a28f5f5ac79a9779ab6bd0faeebe49.zip
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
Diffstat (limited to 'source3/wscript')
-rwxr-xr-xsource3/wscript2
1 files changed, 1 insertions, 1 deletions
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....