diff -up inn-2.5.2/storage/cnfs/cnfs.h.posix inn-2.5.2/storage/cnfs/cnfs.h --- inn-2.5.2/storage/cnfs/cnfs.h.posix 2010-03-24 21:10:36.000000000 +0100 +++ inn-2.5.2/storage/cnfs/cnfs.h 2010-06-28 17:33:11.106804964 +0200 @@ -18,4 +18,12 @@ void cnfs_printfiles(FILE *file, TOKEN t char *cnfs_explaintoken(const TOKEN token); void cnfs_shutdown(void); +/* Patch for POSIX */ + +#ifndef MADV_SEQUENTAL + #ifdef POSIX_MADV_SEQENTIAL + #define MADV_SEQUITIAL POSIX_MADV_SEQUENTIAL + #endif +#endif + #endif