diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-06-02 08:30:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:05 -0500 |
commit | 5e9b84326b4c65799e6fa6550de870d9a7ebba85 (patch) | |
tree | d845ca50de5a892b46854fd79364f24c4f889fc9 /source/include/includes.h | |
parent | 85a07e24f0c9ea7062b7f8d02279e994bc1b5dc5 (diff) | |
download | samba-5e9b84326b4c65799e6fa6550de870d9a7ebba85.tar.gz |
r23307: move readahead stuff out of libreplace and make it samba3 specific
as we can't replace this function in libreplace and we do
the some stuff for other function in the same way.
metze
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index d1cd27585ec..0e90004bdbc 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -1214,6 +1214,9 @@ LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to); #endif /* HAVE_LDAP */ +#if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL) +ssize_t readahead(int fd, off64_t offset, size_t count); +#endif /* TRUE and FALSE are part of the C99 standard and gcc, but unfortunately many vendor compilers don't support them. Use True |