$NetBSD: patch-ae,v 1.1 2005/11/29 06:18:52 joerg Exp $

--- charproc.c.orig	2005-11-29 06:09:50.000000000 +0000
+++ 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>
@@ -101,9 +102,6 @@ extern jmp_buf VTend;
 
 extern XtAppContext app_con;
 extern Widget toplevel;
-extern void exit();
-extern char *malloc();
-extern char *realloc();
 extern fd_set Select_mask;
 extern fd_set X_mask;
 extern fd_set pty_mask;
