--- src/daemon/main.c.orig 2010-06-15 09:20:39 +0000 +++ src/daemon/main.c 2010-06-15 09:22:09 +0000 @@ -865,7 +865,7 @@ pa_log_info(_("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!")); if (conf->lock_memory) { -#ifdef HAVE_SYS_MMAN_H +#ifdef HAVE_SYS_MMAN_H && !defined(__DragonFly__) if (mlockall(MCL_FUTURE) < 0) pa_log_warn("mlockall() failed: %s", pa_cstrerror(errno)); else