diff -Nurd amiwm0.22pl2.orig/configure amiwm0.22pl2/configure --- amiwm0.22pl2.orig/configure 2023-04-16 12:11:45.000000000 -0400 +++ amiwm0.22pl2/configure 2023-09-24 16:02:06.000000000 -0400 @@ -6081,6 +6081,7 @@ else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include int main() { diff -Nurd amiwm0.22pl2.orig/icc.h amiwm0.22pl2/icc.h --- amiwm0.22pl2.orig/icc.h 2023-04-16 12:11:41.000000000 -0400 +++ amiwm0.22pl2/icc.h 2023-09-24 16:02:06.000000000 -0400 @@ -4,6 +4,7 @@ #include #include #include "client.h" +#include extern void init_atoms(void); extern void setsupports(Window); diff -Nurd amiwm0.22pl2.orig/launchermodule.c amiwm0.22pl2/launchermodule.c --- amiwm0.22pl2.orig/launchermodule.c 2023-04-16 12:11:41.000000000 -0400 +++ amiwm0.22pl2/launchermodule.c 2023-09-27 00:35:01.000000000 -0400 @@ -4,6 +4,7 @@ #include #include #include +#include #include "libami.h" #include "drawinfo.h" diff -Nurd amiwm0.22pl2.orig/main.c amiwm0.22pl2/main.c --- amiwm0.22pl2.orig/main.c 2023-04-16 12:11:41.000000000 -0400 +++ amiwm0.22pl2/main.c 2023-09-24 16:04:39.000000000 -0400 @@ -116,6 +116,7 @@ extern void menubar_leave(Window); extern void *getitembyhotkey(KeySym); extern void menuaction(void *); +extern void closescreen(void); extern Scrn *getscreenbyroot(Window); extern void assimilate(Window, int, int); extern void deselect_all_icons(Scrn *); diff -Nurd amiwm0.22pl2.orig/menu.c amiwm0.22pl2/menu.c --- amiwm0.22pl2.orig/menu.c 2023-04-16 12:11:41.000000000 -0400 +++ amiwm0.22pl2/menu.c 2023-09-24 16:05:18.000000000 -0400 @@ -45,6 +45,9 @@ extern void mod_menuselect(struct module *, int, int, int); extern void setfocus(Window); extern void flushmodules(); +extern void screentoback(); +extern void closescreen(void); +extern void realizescreens(void); extern void wberror(Scrn *, char *); Scrn *mbdclick=NULL, *mbdscr=NULL;