git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a754f
)
build: Check correctly for sendfile (missing .h in header)
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 2 Jun 2012 03:02:21 +0000
(13:02 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 2 Jun 2012 03:34:08 +0000
(
05:34
+0200)
This will hopefully fix the build on SLES8, which does not support 64-bit sendfile.
Andrew Bartlett
source3/wscript
patch
|
blob
|
history
diff --git
a/source3/wscript
b/source3/wscript
index e9d971a3be03bd8cc6cc52b898f8d35306e3b276..b08fc77d17afb5470637899a000a6d74209dadcf 100755
(executable)
--- 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....