summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbwrapper')
-rw-r--r--source/smbwrapper/realcalls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/smbwrapper/realcalls.h b/source/smbwrapper/realcalls.h
index 76e233bc9bd..20055a30ad1 100644
--- a/source/smbwrapper/realcalls.h
+++ b/source/smbwrapper/realcalls.h
@@ -201,6 +201,8 @@
#define real_llseek(fd,ofs,whence) (_llseek(fd,ofs,whence))
#elif HAVE___LLSEEK
#define real_llseek(fd,ofs,whence) (__llseek(fd,ofs,whence))
+#elif HAVE___SYS_LLSEEK
+#define real_llseek(fd,ofs,whence) (__sys_llseek(fd,ofs,whence))
#endif