Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > c990db8f43029911c3209147242b93af > files > 3

inn-2.4.4-1mdv2009.0.src.rpm

--- inn-2.4.1/storage/cnfs/cnfs.h.old	2004-12-15 17:38:22.038029888 +0100
+++ inn-2.4.1/storage/cnfs/cnfs.h	2004-12-15 17:38:22.037030040 +0100
@@ -17,4 +17,12 @@
 void cnfs_printfiles(FILE *file, TOKEN token, char **xref, int ngroups);
 void cnfs_shutdown(void);
 
+/* Patch for POSIX
+*/
+#ifndef MADV_SEQUENTIAL 
+  #ifdef  POSIX_MADV_SEQUENTIAL
+    #define MADV_SEQUENTIAL  POSIX_MADV_SEQUENTIAL
+  #endif
+#endif
+
 #endif