$NetBSD: patch-ak,v 1.4 2008/06/05 19:09:41 christos Exp $ --- agent/mibgroup/mibII/icmp.c.orig 2007-07-16 19:59:44.000000000 -0400 +++ agent/mibgroup/mibII/icmp.c 2008-06-04 19:42:01.000000000 -0400 @@ -140,6 +140,13 @@ #define USES_TRADITIONAL_ICMPSTAT #endif +#ifdef ICMP_NSTATS +struct icmpstat { + uint64_t st[ICMP_NSTATS]; +}; +#define ICMP_STAT_STRUCTURE struct icmpstat +#endif + #if !defined(ICMP_STAT_STRUCTURE) #define ICMP_STAT_STRUCTURE struct icmpstat #define USES_TRADITIONAL_ICMPSTAT