$NetBSD: patch-ao,v 1.5 2012/06/23 22:27:11 dholland Exp $

- use standard headers

--- mon.c.orig	1991-11-19 04:00:48.000000000 +0000
+++ mon.c
@@ -23,7 +23,8 @@
 #endif /* SYSV32 || hpux */
 #include <sys/types.h>
 #include <sys/stat.h>
-#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix)
+#include <sys/param.h>
+#if ( !defined(mips) && !defined(TOPIX) ) || defined(ultrix) || (defined(BSD) && BSD >= 199306) || defined(__sgi)
 #include <sys/time.h>
 #else
 #ifdef SYSTYPE_BSD43
@@ -50,6 +51,9 @@ struct utimbuf {
 #endif /*TOPIX*/
 #endif /*!NOUTIME*/
 
+/* for calloc(), malloc(), realloc() */
+#include <stdlib.h>
+
 #include "faces.h"
 #include "extern.h"
 
