--- ./xegon/window.c.00	2003-08-19 21:57:42.000000000 +0000
+++ ./xegon/window.c	2007-12-08 17:39:46.000000000 +0000
@@ -24,6 +24,7 @@
    This module handles windows: creating, destroying, printing on windows.
 --- */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
@@ -100,7 +101,7 @@
 
 static int bars = 0;
 
-static AppData app_data;
+AppData app_data;
 
 #define XtNplugin "plugin"
 #define XtCPlugin "Plugin"
