summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-ag
blob: 6bacc0e0e8e23bd555548d568f349687e9f3607b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ag,v 1.2 2002/08/25 19:23:21 jlam Exp $

--- fam/IMon.c++.orig	Tue Dec 18 11:03:37 2001
+++ fam/IMon.c++
@@ -25,6 +25,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <sys/param.h>
 
 #if HAVE_IMON
 #ifdef __sgi
@@ -34,7 +35,9 @@
 #endif
 #endif
 
-#include <sys/sysmacros.h>
+#if !defined(BSD)
+#  include <sys/sysmacros.h>
+#endif
 #include <unistd.h>
 
 #include "Interest.h"