3-Jun-2004 Mike Slifcak

This patch creates freebsd5.h, required to properly
build Net-SNMP-5.1 or later on FreeBSD 5.x

Patch using net-snmp-5.1.1 or V5-1-patdhes branch,
Built using FreeBSD 5.2.1

Since the original source did not exist at net-snmp-5.1.1,
this patch should also work against net-snmp-5.1.1


--- net-snmp-5.1.1/include/net-snmp/system/freebsd5.h	Wed Jun  2 22:28:45 2004
+++ net-snmp/include/net-snmp/system/freebsd5.h	Wed Jun  2 22:26:18 2004
@@ -0,0 +1,29 @@
+#include "freebsd.h"
+
+/*
+ * freebsd4 is a superset of freebsd2 and freebsd3 
+ */
+#define freebsd2 1
+#define freebsd3 1
+/* freebsd5 is a superset of freebsd4 */
+#define freebsd4 1
+
+#undef IFADDR_SYMBOL
+#define IFADDR_SYMBOL "in_ifaddrhead"
+
+#undef PROC_SYMBOL
+#define PROC_SYMBOL "allproc"
+
+#undef NPROC_SYMBOL
+#define NPROC_SYMBOL "nprocs"
+
+#undef TOTAL_MEMORY_SYMBOL
+
+/* force hr_storage.c to use getfsstat */
+#undef MBSTAT_SYMBOL
+#undef HAVE_STATVFS
+#undef HAVE_SYS_STATVFS_H
+#undef STRUCT_STATVFS_HAS_F_FRSIZE
+/* force ucd-snmp/disk.c to ignore statvfs objects */
+#undef STRUCT_STATFS_HAS_F_FAVAIL
+
