From 06c8339b3a1bde6f71d437d792ae01d118832fb4 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 31 Dec 2014 22:39:58 -0600 Subject: [PATCH 04/16] add MAX macro --- src/usr.sbin/ntpd/ntpd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h index aa9858b..61a447f 100644 --- a/src/usr.sbin/ntpd/ntpd.h +++ b/src/usr.sbin/ntpd/ntpd.h @@ -72,6 +72,10 @@ #define SENSOR_SCAN_INTERVAL (5*60) #define SENSOR_DEFAULT_REFID "HARD" +#ifndef MAX +#define MAX(a, b) ((a) > (b) ? (a) : (b)) +#endif + enum client_state { STATE_NONE, STATE_DNS_INPROGRESS, -- 1.9.1