--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sun Sep 16 17:16:16 2001 +++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Fri Mar 28 13:18:19 2003 @@ -9,7 +9,9 @@ #include #include #include +#if __FreeBSD_version < 500101 #include +#endif #ifdef freebsd5 #include #endif @@ -232,7 +234,7 @@ size_t total_size = sizeof (total); int total_mib[] = { CTL_VM, VM_METER }; - long phys_mem; + u_long phys_mem; size_t phys_mem_size = sizeof(phys_mem); int phys_mem_mib[] = { CTL_HW, HW_USERMEM };