CVE-2020-28019: Failure to reset function pointer after BDAT error
[exim.git] / src / exim_monitor / em_version.c
index c5931fc8d6c667bd1b692aed6b8889caaf151bf6..336f2ae97d14bc561cc7a9aa8e9a38e30bf0bfac 100644 (file)
@@ -8,6 +8,17 @@
 
 #define EM_VERSION_C
 
+/* Needed by macros.h */
+/* Some systems have PATH_MAX and some have MAX_PATH_LEN. */
+
+#ifndef PATH_MAX
+# ifdef MAX_PATH_LEN
+#  define PATH_MAX MAX_PATH_LEN
+# else
+#  define PATH_MAX 1024
+# endif
+#endif
+
 #include "mytypes.h"
 #include "store.h"
 #include "macros.h"