--- tests/test_config.c.orig	Wed Dec  1 21:22:17 2004
+++ tests/test_config.c	Wed Dec  1 21:23:00 2004
@@ -6,6 +6,8 @@
 
 enum { ACTION_NONE, ACTION_GET, ACTION_SET };
 
+Display* dpy;
+
 static void printUsage()
 {
   printf( "Usage: test_config (-g)|(-s -m <model> -l <layouts> -o <options>)|(-h)(-d <debugLevel>)\n" );
@@ -89,7 +91,7 @@
     exit( 0 );
   }
 
-  Display* dpy = XOpenDisplay( NULL );
+  dpy = XOpenDisplay( NULL );
   if ( dpy == NULL )
   {
     fprintf( stderr, "Could not open display\n" );
