DMARC: expand main-config options. Bug 3102
[exim.git] / src / exim_monitor / em_version.c
index 9b9c7d4171e1b88f14c6a012a8351e875d9c02cd..8f047ce5a9140a1a43ffe2e393cd13975c9738a9 100644 (file)
@@ -2,13 +2,16 @@
 *                  Exim Monitor                  *
 *************************************************/
 
+/* Copyright (c) The Exim Maintainers 2020 - 2024 */
 /* Copyright (c) University of Cambridge 1995 - 2018 */
 /* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 #define EM_VERSION_C
 
 #include "mytypes.h"
 #include "store.h"
+#include "path_max.h"
 #include "macros.h"
 #include <string.h>
 #include <stdlib.h>
@@ -21,8 +24,10 @@ extern uschar *version_date;
 void
 version_init(void)
 {
+#ifndef EXIM_BUILD_DATE_OVERRIDE
 int i = 0;
 uschar today[20];
+#endif
 
 version_string = US"2.06";