--- ../relay_aux.c.orig	2021-09-22 11:17:39.444565934 +0200
+++ ./relay_aux.c	2021-09-22 11:17:59.128252191 +0200
@@ -95,7 +95,7 @@
 extern CONFIG config;
 extern CONFIG *configp;
 
-char spoolfile[PATH_LEN + 1];
+extern char spoolfile[PATH_LEN + 1];
 
 extern int is_ring( void );
 int relay_ri_control( void );
