From 8e89c64b095d114414a71d0eb62358c3bc21fd7e Mon Sep 17 00:00:00 2001
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Fix FTBFS with GCC 10 curwin is declared in different source file. declare it as extern to fix multiple definition linker error.

---
 src/locfit/startlf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/locfit/startlf.c b/src/locfit/startlf.c
index 6255410..f5435f7 100644
--- a/src/locfit/startlf.c
+++ b/src/locfit/startlf.c
@@ -233,7 +233,7 @@ INT (*vfun)(), nopc;
 extern lfit lf;
 extern design des;
 extern plots pl[];
-int curwin;
+extern int curwin;
 vari *vb;
 
 INT nofit()
-- 
2.23.0

