From: Harlan Stenn Date: Thu, 24 Sep 2015 11:27:07 +0000 (+0000) Subject: More updates for bug 2817. Harlan Stenn. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959e50def03cef6d8ce980c58f5af638e5c5da0a;p=thirdparty%2Fntp.git More updates for bug 2817. Harlan Stenn. bk: 5603de0bxKSADyA6tvET9UsZqEY6RA --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 71c021fca..a14d02c50 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -791,7 +791,7 @@ ntpdmain( * lock the process into memory */ if ( !HAVE_OPT(SAVECONFIGQUIT) -# ifdef HAVE_SETRLIMIT +# ifdef RLIMIT_MEMLOCK && -1 != DFLT_RLIMIT_MEMLOCK # endif && 0 != mlockall(MCL_CURRENT|MCL_FUTURE))