From 48eb73b5563970549b2eb3649a45b0a7110bb2f5 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 19 May 2004 01:17:42 +0000
Subject: [PATCH] Allow zic to compile by defining a "" value for my_exec_path.
  It isn't used by zic anyway.

---
 src/timezone/zic.c | 6 ++++++
 1 file changed, 6 insertions(+)

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
@@ -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,
-- 
GitLab