From 7f1c453139e5c4309b4b9c880bcfd82a06b90730 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 29 Jan 2020 16:11:41 +0100 Subject: Fix build using gcc 10 -fno-common flag --- capplets/time-admin/src/time-share.c | 2 ++ capplets/time-admin/src/time-share.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'capplets') diff --git a/capplets/time-admin/src/time-share.c b/capplets/time-admin/src/time-share.c index c65189b4..e50d983c 100644 --- a/capplets/time-admin/src/time-share.c +++ b/capplets/time-admin/src/time-share.c @@ -21,6 +21,8 @@ #include "time-share.h" #include +int TimeoutFlag; + int ErrorMessage (const char *Title, const char *Msg) { diff --git a/capplets/time-admin/src/time-share.h b/capplets/time-admin/src/time-share.h index b3c26ab4..048455e2 100644 --- a/capplets/time-admin/src/time-share.h +++ b/capplets/time-admin/src/time-share.h @@ -33,7 +33,7 @@ #include #include -int TimeoutFlag; +extern int TimeoutFlag; typedef struct { GtkWidget *MainWindow; -- cgit v1.2.1