From: Yann Dirson <dirson@debian.org>
Date: Sun, 25 Jan 2026 17:12:01 +0100
Subject: Fix FTBFS with GCC 10

===================================================================
---
 common.h  | 1 +
 gtk/gui.c | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/common.h b/common.h
index 60fa504..b85d533 100644
--- a/common.h
+++ b/common.h
@@ -44,3 +44,4 @@ typedef struct {
 } TimeMark;
 
 extern TimeMark programStartTime;
+extern Option *currBoard;
diff --git a/gtk/gui.c b/gtk/gui.c
index aaf71f3..7bd94a5 100644
--- a/gtk/gui.c
+++ b/gtk/gui.c
@@ -249,7 +249,6 @@ int smallLayout = 0, tinyLayout = 0,
   fromX = -1, fromY = -1, toX, toY, commentUp = False,
   errorExitStatus = -1, defaultLineGap;
 
-void *currBoard;
 char *chessDir, *programName, *programVersion;
 Boolean alwaysOnTop = False;
 
