File XaoS-3.1-gcc4.patch of Package xaos

--- src/include/fractal.h
+++ src/include/fractal.h
@@ -29,7 +29,6 @@
 
 #include "config.h"
 #include "fconfig.h"
-#include "formulas.h"
 #define INCOLORING 11
 #define OUTCOLORING 11
 #define TCOLOR 11
@@ -168,6 +167,9 @@
 				register number_t x2, register number_t y2,
 				int periodicity) REGISTERS (3);
 
+/* needs struct formula */
+#include <formulas.h>
+
 #ifdef __cplusplus
 }
 #endif
--- src/ui/ui.c
+++ src/ui/ui.c
@@ -97,6 +97,10 @@
 
 xio_pathdata configfile;
 static void ui_unregistermenus (void);
+static void ui_mkimages (int w, int h);
+static void main_loop (void);
+
+
 
 int prog_argc;
 char **prog_argv;