From e47c4441d3e0a6d609dd62e9d55c6f12d24bc185 Mon Sep 17 00:00:00 2001 From: Ollivier Robert Date: Sun, 25 Jul 2004 22:02:30 +0000 Subject: [PATCH] mlockall(2) was introduced during the 5.0-CURRENT lifetime. --- usr.sbin/ntp/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/ntp/config.h b/usr.sbin/ntp/config.h index 51d0929fa6cd..207992c2985b 100644 --- a/usr.sbin/ntp/config.h +++ b/usr.sbin/ntp/config.h @@ -453,7 +453,9 @@ #define HAVE_MKTIME 1 /* Define to 1 if you have the `mlockall' function. */ +#if __FreeBSD_version >= 500102 #define HAVE_MLOCKALL 1 +#endif /* Define to 1 if you have the `mrand48' function. */ #define HAVE_MRAND48 1