--- a/we_debug.c
+++ b/we_debug.c
@@ -31,6 +31,8 @@
 
 int e_d_delbreak(FENSTER *f);
 int e_d_error(char *s);
+int print_to_end_of_buffer(BUFFER * b,char * str,int wrap_limit);
+
 
 #define MAXOUT  2 * MAXSCOL * MAXSLNS
 
--- a/we_prog.c
+++ b/we_prog.c
@@ -21,6 +21,7 @@
 int e_make_library(char *library, char *ofile, FENSTER *f);
 int e_p_exec(int file, FENSTER *f, PIC *pic);
 struct dirfile **e_make_prj_opt(FENSTER *f);
+int print_to_end_of_buffer(BUFFER * b,char * str,int wrap_limit);
 
 int wfildes[2], efildes[2];
 char *wfile = NULL, *efile = NULL;
--- a/we_term.c
+++ b/we_term.c
@@ -97,6 +97,8 @@
 #endif
 #endif
 
+int WpeGpmMouseInit(void);
+
 int WpeDllInit(int *argc, char **argv)
 {
  fk_u_cursor = fk_t_cursor;
