Re: warning: implicit declaration of function 'readahead'

2008-02-27 Thread Mathieu Malaterre
On Wed, Feb 27, 2008 at 4:45 PM, Sven Joachim <[EMAIL PROTECTED]> wrote: > > On 2008-02-27 16:24 +0100, Mathieu Malaterre wrote: > > > Hello, > > > > I am getting this annoying warning: > > > > warning: implicit declaration of function '

Re: warning: implicit declaration of function 'readahead'

2008-02-27 Thread Sven Joachim
On 2008-02-27 16:24 +0100, Mathieu Malaterre wrote: > Hello, > > I am getting this annoying warning: > > warning: implicit declaration of function 'readahead' > > Looking at the man page of readahead I need to include fcntl.h to > get the declaration. B

warning: implicit declaration of function 'readahead'

2008-02-27 Thread Mathieu Malaterre
Hello, I am getting this annoying warning: warning: implicit declaration of function 'readahead' Looking at the man page of readahead I need to include fcntl.h to get the declaration. But after digging in the source the readahead is only accessible if __USE_GNU is defined, which