The configure test for whether readahead() is available, and the actual compilation of vfs_readahead.c which requires it use different flags. If readahead() is available but is not explicitly declared, the configure test passes but the compilation fails. If -Werror-implicit-function-declaration is going to be used during compilation, it should also be used during the configure tests so that configure will ignore features that will cause errors during compilation.
Fixed by checkin 22731.