diff --git a/src/timezone/zic.c b/src/timezone/zic.c
index 21d665c7150276d63666ae135463db6cd1bc6f7f..28585ac52f8f8b4283715cf0ebc1dbc8d61bc6ca 100644
--- a/src/timezone/zic.c
+++ b/src/timezone/zic.c
@@ -22,6 +22,12 @@ static char	elsieid[] = "@(#)zic.c	7.115";
 #endif
 #endif
 
+/*
+ *	This allows zic to compile by just assigning a dummy value.
+ *	pgtz.c references it, but no one uses it from zic.
+ */
+char		my_exec_path[MAXPGPATH] = "";
+
 /*
 ** On some ancient hosts, predicates like `isspace(C)' are defined
 ** only if isascii(C) || C == EOF.  Modern hosts obey the C Standard,