diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 2 | ||||
-rwxr-xr-x | source3/wscript | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index b6143f4041..e4ce944b0e 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5676,7 +5676,7 @@ AC_CACHE_CHECK([for Linux splice], #include <unistd.h> #endif #include <fcntl.h>], - [long ret = splice(0,0,1,0,400,0);], + [long ret = splice(0,0,1,0,400,SPLICE_F_MOVE);], samba_cv_HAVE_LINUX_SPLICE=yes, samba_cv_HAVE_LINUX_SPLICE=no)]) ;; diff --git a/source3/wscript b/source3/wscript index 5a8a6f0baa..55b859c2de 100755 --- a/source3/wscript +++ b/source3/wscript @@ -107,7 +107,7 @@ def configure(conf): #if defined(HAVE_UNISTD_H) #include <unistd.h> #endif -long ret = splice(0,0,1,0,400,0); +long ret = splice(0,0,1,0,400,SPLICE_F_MOVE); ''', 'HAVE_LINUX_SPLICE', headers='fcntl.h'): |