summaryrefslogtreecommitdiff
path: root/libeio.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libeio.m4')
-rw-r--r--libeio.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/libeio.m4 b/libeio.m4
index d9776f5..3c8cd6c 100644
--- a/libeio.m4
+++ b/libeio.m4
@@ -25,10 +25,9 @@ AC_CACHE_CHECK(for readahead, ac_cv_readahead, [AC_LINK_IFELSE([
int main(void)
{
int fd = 0;
- off64_t offset = 1;
size_t count = 2;
ssize_t res;
- res = readahead (fd, offset, count);
+ res = readahead (fd, 0, count);
return 0;
}
],ac_cv_readahead=yes,ac_cv_readahead=no)])