$NetBSD: patch-bb,v 1.1 2005/03/12 12:53:56 schwarz Exp $ --- xview.c.orig 2005-03-09 21:53:05.000000000 +0100 +++ xview.c 2005-03-09 21:53:26.000000000 +0100 @@ -27,6 +27,11 @@ #include #include +#ifdef __sgi +/* for calloc(), malloc(), realloc() */ +#include +#endif + #define DEF_FONT "fixed" #define F_ICON 0 /* Icon index to frame array. */ #define F_WINDOW 1 /* Window index to frame array. */