1From c51815b10c39c6e802bd1b56549f1d479b480fcc Mon Sep 17 00:00:00 2001 2From: Andrew Sun <adsun701@gmail.com> 3Date: Sat, 18 Jul 2020 09:11:11 -0400 4Subject: [PATCH] fix multiple definition error when building with gcc10 5 6[Retrieved from: 7https://github.com/mongrel2/mongrel2/pull/343/commits/c51815b10c39c6e802bd1b56549f1d479b480fcc] 8Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 9--- 10 src/unixy.h | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13diff --git a/src/unixy.h b/src/unixy.h 14index 045e7c28..4225220c 100644 15--- a/src/unixy.h 16+++ b/src/unixy.h 17@@ -38,7 +38,7 @@ 18 #include <bstring.h> 19 #include <unistd.h> 20 21-char *m2program; 22+extern char *m2program; 23 24 int Unixy_chroot(bstring path); 25 26