$NetBSD: patch-cb,v 1.1 2001/12/20 09:20:01 tron Exp $

--- lib/libxview/panel/p_txt.c.orig	Tue Jun 29 07:16:55 1993
+++ lib/libxview/panel/p_txt.c	Thu Dec 20 10:09:17 2001
@@ -10,7 +10,12 @@
  *	file for terms of the license.
  */
 
+#include <sys/param.h>
+#if (defined(BSD) && (BSD >= 199103))
+#include <stdlib.h>
+#else
 #include <malloc.h>
+#endif
 #include <string.h>
 #include <ctype.h>
 #include <X11/X.h>
