--- a/main.c +++ b/main.c @@ -131,6 +131,7 @@ extern void read_rc_file(char *filename, int manage_all); extern void init_modules(); extern void flushmodules(); +extern void closescreen(); extern void raiselowerclient(Client *, int); #ifndef AMIGAOS --- a/menu.c +++ b/menu.c @@ -45,6 +45,11 @@ extern void mod_menuselect(struct module *, int, int, int); extern void setfocus(Window); extern void flushmodules(); +extern void openscreen(char *, Window); +extern void realizescreens(void); +extern void screentoback(); +extern void wberror(Scrn *, char *); +extern void closescreen(); Scrn *mbdclick=NULL, *mbdscr=NULL; --- a/icc.c +++ b/icc.c @@ -6,6 +6,7 @@ #include "prefs.h" #include +#include #ifdef AMIGAOS #include --- a/libami/lists.c +++ b/libami/lists.c @@ -1,3 +1,4 @@ +#include #include "libami.h" #ifndef AMIGAOS --- a/kbdmodule.y +++ b/kbdmodule.y @@ -2,6 +2,8 @@ #include #include #include "libami.h" +int yyerror(char *); +int yylex (void); void docmd(XEvent *e, void *callback) { --- a/gram.y +++ b/gram.y @@ -8,6 +8,8 @@ #include "screen.h" #include "icc.h" #include "style.h" +int yyerror(char *); +int yylex (void); extern void set_sys_palette(void); extern void set_mwb_palette(void); extern void set_schwartz_palette(void); --- a/ppmtoinfo.c +++ b/ppmtoinfo.c @@ -1,6 +1,7 @@ #include #include #include +#include #ifdef HAVE_UNISTD_H #include #endif