aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/timezone/zic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timezone/zic.c b/src/timezone/zic.c
index 21d665c7150..28585ac52f8 100644
--- a/src/timezone/zic.c
+++ b/src/timezone/zic.c
@@ -23,6 +23,12 @@ static char elsieid[] = "@(#)zic.c 7.115";
#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,
** which says they are defined only if C == ((unsigned char) C) || C == EOF.