diff -Naur hanterm-3.1.6.orig/button.c hanterm-3.1.6/button.c --- hanterm-3.1.6.orig/button.c 2001-06-06 22:05:15.000000000 +0900 +++ hanterm-3.1.6/button.c 2008-12-23 00:48:18.000000000 +0900 @@ -42,7 +42,6 @@ void TrackText(); -extern char *malloc(); extern void input_to_chat(); extern void HideCursor(); diff -Naur hanterm-3.1.6.orig/charproc.c hanterm-3.1.6/charproc.c --- hanterm-3.1.6.orig/charproc.c 2001-06-06 22:05:15.000000000 +0900 +++ hanterm-3.1.6/charproc.c 2008-12-23 00:48:32.000000000 +0900 @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -81,8 +82,6 @@ extern Widget toplevel; extern void exit(); -extern char *malloc(); -extern char *realloc(); extern void FlushScroll(); extern void InsertLine(); diff -Naur hanterm-3.1.6.orig/scrollbar.c hanterm-3.1.6/scrollbar.c --- hanterm-3.1.6.orig/scrollbar.c 1999-03-19 15:27:19.000000000 +0900 +++ hanterm-3.1.6/scrollbar.c 2008-12-23 00:45:53.000000000 +0900 @@ -28,6 +28,7 @@ #include "ptyx.h" /* gets Xt headers, too */ #include +#include #include #include