summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-ah
blob: 5784fd2fc7cd27e5a7fa4b9a728b09034a2acc48 (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-ah,v 1.5 2004/11/19 12:35:22 sketch Exp $

--- src/Interest.c++.orig	2003-01-18 08:18:12.000000000 -0600
+++ src/Interest.c++
@@ -23,7 +23,9 @@
 #include "Interest.h"
 
 #include <sys/param.h>
+#if HAVE_SYS_SYSMACROS_H
 #include <sys/sysmacros.h>
+#endif
 
 #include <errno.h>
 #include <string.h>
@@ -46,7 +48,7 @@
 #include "Pollster.h"
 #include "timeval.h"
 
-Interest *Interest::hashtable[];
+Interest *Interest::hashtable[HASHSIZE];
 IMon      Interest::imon(imon_handler);
 bool      Interest::xtab_verification = true;