summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-ah
blob: a9cbb791778479cf4a2c8c343558e6ccf2e05854 (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
$NetBSD: patch-ah,v 1.6 2009/07/19 18:14:59 tnn Exp $

--- src/Interest.c++.orig	2003-01-18 15:18:12.000000000 +0100
+++ src/Interest.c++
@@ -20,10 +20,13 @@
 //  with this program; if not, write the Free Software Foundation, Inc., 59
 //  Temple Place - Suite 330, Boston MA 02111-1307, USA.
 
+#include <stdio.h>
 #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 +49,7 @@
 #include "Pollster.h"
 #include "timeval.h"
 
-Interest *Interest::hashtable[];
+Interest *Interest::hashtable[HASHSIZE];
 IMon      Interest::imon(imon_handler);
 bool      Interest::xtab_verification = true;