diff options
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_readahead.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/modules/vfs_readahead.c b/source3/modules/vfs_readahead.c index b9dbece94e..22f7f70355 100644 --- a/source3/modules/vfs_readahead.c +++ b/source3/modules/vfs_readahead.c @@ -19,6 +19,10 @@ #include "system/filesys.h" #include "smbd/smbd.h" +#if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL) +ssize_t readahead(int fd, off64_t offset, size_t count); +#endif + struct readahead_data { SMB_OFF_T off_bound; SMB_OFF_T len; |