summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-24 09:06:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:47 -0500
commitc3c7e1b4230e086ec91fe51b96509ef90980358b (patch)
treead218d047b8f8d5d6fb1eceb6afaef1ce79039a7
parent5aec9e21bd3a8c3bd4adc41e9ae2afa79d5861b5 (diff)
downloadsamba-c3c7e1b4230e086ec91fe51b96509ef90980358b.tar.gz
samba-c3c7e1b4230e086ec91fe51b96509ef90980358b.tar.bz2
samba-c3c7e1b4230e086ec91fe51b96509ef90980358b.zip
r23109: Redo the change from r22772 I accidentially undid in r23108.
Michael (This used to be commit 18a7e739ea5d19b2e220641e19662e2c263d281a)
-rw-r--r--source3/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index 3cb3c95b69..2bda0eab52 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/lib/replace/replace.h
@@ -111,6 +111,10 @@ extern char *sys_errlist[];
extern int errno;
#endif
+#if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL)
+ssize_t readahead(int fd, off64_t offset, size_t count);
+#endif
+
#ifndef HAVE_STRDUP
#define strdup rep_strdup
char *rep_strdup(const char *s);