$NetBSD: patch-am,v 1.2 2012/03/19 11:28:49 markd Exp $ --- kdecore/sycoca/ksycoca.cpp.orig 2011-04-01 13:56:18.000000000 +0000 +++ kdecore/sycoca/ksycoca.cpp @@ -62,7 +62,7 @@ */ #define KSYCOCA_FILENAME "ksycoca4" -#if HAVE_MADVISE +#if HAVE_MMAP #include // This #include was checked when looking for posix_madvise #endif