26 lines
692 B
Text
26 lines
692 B
Text
$NetBSD: patch-ao,v 1.4 2005/03/12 12:53:56 schwarz Exp $
|
|
|
|
--- mon.c.orig 1991-11-19 05:00:48.000000000 +0100
|
|
+++ mon.c 2005-03-09 21:52:39.000000000 +0100
|
|
@@ -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,11 @@
|
|
#endif /*TOPIX*/
|
|
#endif /*!NOUTIME*/
|
|
|
|
+#ifdef __sgi
|
|
+/* for calloc(), malloc(), realloc() */
|
|
+#include <stdlib.h>
|
|
+#endif
|
|
+
|
|
#include "faces.h"
|
|
#include "extern.h"
|
|
|