summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 878e21f4c2..45704b9264 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1692,7 +1692,7 @@ int send_file_readX(connection_struct *conn, char *inbuf,char *outbuf,int length
ssize_t nread = -1;
char *data = smb_buf(outbuf);
-#if defined(WITH_SENDFILE) && defined(HAVE_SENDFILE)
+#if defined(WITH_SENDFILE)
/*
* We can only use sendfile on a non-chained packet and on a file
* that is exclusively oplocked.