$NetBSD$

--- rec.c.orig	2005-03-09 21:51:57.000000000 +0100
+++ rec.c	2005-03-09 21:52:19.000000000 +0100
@@ -20,6 +20,10 @@
 #else
 #include <strings.h>
 #endif /* SYSV32 || hpux */
+#ifdef __sgi
+/* for calloc(), malloc(), realloc() */
+#include <stdlib.h>
+#endif
 #include "faces.h"
 #include "extern.h"
 
