File kterm-6.2.0-implicit-decl.patch of Package kterm
Index: kterm-6.2.0/charproc.c =================================================================== --- kterm-6.2.0.orig/charproc.c +++ kterm-6.2.0/charproc.c @@ -71,6 +71,7 @@ in this Software without prior written a #define Select select #endif #include <stdio.h> +#include <stdlib.h> #include <errno.h> #include <setjmp.h> #include <ctype.h> Index: kterm-6.2.0/main.c =================================================================== --- kterm-6.2.0.orig/main.c +++ kterm-6.2.0/main.c @@ -80,6 +80,7 @@ SOFTWARE. #endif #include <X11/Xlocale.h> #include <pwd.h> +#include <grp.h> #include <ctype.h> #include "data.h" #include "error.h" Index: kterm-6.2.0/scrollbar.c =================================================================== --- kterm-6.2.0.orig/scrollbar.c +++ kterm-6.2.0/scrollbar.c @@ -29,6 +29,8 @@ #include "ptyx.h" /* gets Xt headers, too */ #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <ctype.h> #include <X11/Xatom.h>