2009-07-19 20:14:59 +02:00
|
|
|
$NetBSD: patch-ah,v 1.6 2009/07/19 18:14:59 tnn Exp $
|
2002-05-12 12:25:47 +02:00
|
|
|
|
2009-07-19 20:14:59 +02:00
|
|
|
--- src/Interest.c++.orig 2003-01-18 15:18:12.000000000 +0100
|
2004-03-29 00:00:04 +02:00
|
|
|
+++ src/Interest.c++
|
2009-07-19 20:14:59 +02:00
|
|
|
@@ -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>
|
2004-03-29 00:00:04 +02:00
|
|
|
#include "Interest.h"
|
|
|
|
|
2002-05-12 12:25:47 +02:00
|
|
|
#include <sys/param.h>
|
2004-03-29 00:00:04 +02:00
|
|
|
+#if HAVE_SYS_SYSMACROS_H
|
|
|
|
#include <sys/sysmacros.h>
|
|
|
|
+#endif
|
2002-05-12 12:25:47 +02:00
|
|
|
|
2004-03-29 00:00:04 +02:00
|
|
|
#include <errno.h>
|
|
|
|
#include <string.h>
|
2009-07-19 20:14:59 +02:00
|
|
|
@@ -46,7 +49,7 @@
|
2004-11-19 13:35:22 +01:00
|
|
|
#include "Pollster.h"
|
|
|
|
#include "timeval.h"
|
|
|
|
|
|
|
|
-Interest *Interest::hashtable[];
|
|
|
|
+Interest *Interest::hashtable[HASHSIZE];
|
|
|
|
IMon Interest::imon(imon_handler);
|
|
|
|
bool Interest::xtab_verification = true;
|
|
|
|
|