summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-ag
blob: 9e5e565f363ad512e45efe286ff9dd4d6e3d97c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-ag,v 1.6 2004/11/19 12:35:22 sketch Exp $

--- src/IMon.c++.orig	2003-01-18 14:18:12.000000000 +0000
+++ src/IMon.c++	2004-11-08 14:00:46.523526000 +0000
@@ -25,6 +25,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <sys/param.h>
 
 #if HAVE_IMON
 #ifdef __sgi
@@ -32,15 +33,18 @@
 #else
 #include <linux/imon.h>
 #endif
+#else // HAVE_IMON
+#include "imon-compat.h"
 #endif
 
+#if HAVE_SYS_SYSMACROS_H
 #include <sys/sysmacros.h>
+#endif
 #include <unistd.h>
 
 #include "Interest.h"
 #include "Log.h"
 #include "Scheduler.h"
-#include "alloc.h"
 
 int		   IMon::imonfd = -2;
 IMon::EventHandler IMon::ehandler = NULL;