summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2004-07-25 22:02:30 +0000
committerroberto <roberto@FreeBSD.org>2004-07-25 22:02:30 +0000
commit88dbff160e2d51e24123d456b323e9ec9cda7ea8 (patch)
treeb5c248523165246486b7f612b591011693e5430d /usr.sbin/ntp
parent5297516e026506cc0daa09237372bf903023155d (diff)
downloadFreeBSD-src-88dbff160e2d51e24123d456b323e9ec9cda7ea8.zip
FreeBSD-src-88dbff160e2d51e24123d456b323e9ec9cda7ea8.tar.gz
mlockall(2) was introduced during the 5.0-CURRENT lifetime.
Diffstat (limited to 'usr.sbin/ntp')
-rw-r--r--usr.sbin/ntp/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ntp/config.h b/usr.sbin/ntp/config.h
index 51d0929..207992c 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
OpenPOWER on IntegriCloud