aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ntp_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ntp_time.c')
-rw-r--r--plugins/check_ntp_time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index 746b6831..f8564571 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -55,7 +55,9 @@ void print_help (void);
void print_usage (void);
/* number of times to perform each request to get a good average. */
+#ifndef AVG_NUM
#define AVG_NUM 4
+#endif
/* max size of control message data */
#define MAX_CM_SIZE 468