1From dbb5961f106ec42cd70689d933674c9c37aedfe1 Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org> 3Date: Mon, 13 Apr 2020 20:12:11 +0200 4Subject: [PATCH] include: Declare gVERSION global as 'extern'. 5 6Fixes build with '-fno-common'. 7 8[Retrieved from: 9https://github.com/eclipse/mraa/pull/1012/commits/dbb5961f106ec42cd70689d933674c9c37aedfe1] 10Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmaail.com> 11--- 12 include/version.h | 4 ++-- 13 1 file changed, 2 insertions(+), 2 deletions(-) 14 15diff --git a/include/version.h b/include/version.h 16index 47366ef6f..3a567a1d5 100644 17--- a/include/version.h 18+++ b/include/version.h 19@@ -11,8 +11,8 @@ 20 extern "C" { 21 #endif 22 23-const char* gVERSION; 24-const char* gVERSION_SHORT; 25+extern const char* gVERSION; 26+extern const char* gVERSION_SHORT; 27 28 #ifdef __cplusplus 29 } 30