diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-11-16 15:48:33 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-11-16 15:48:33 +0000 |
commit | f68f5986d5c54cf6fd89bcec336c46ba4fdf7f20 (patch) | |
tree | f107de56c9545d2999dd396b6ba83ba4436aa082 /net/net-snmp4 | |
parent | Update module: status-1.030-1 (did not detect when remote TCP (diff) |
Unbreak on -current.
Submitted by: Olivier Houchard <cognet@ci0.org>
Notes
Notes:
svn path=/head/; revision=70252
Diffstat (limited to 'net/net-snmp4')
-rw-r--r-- | net/net-snmp4/files/patch-auto_nlist.c | 18 | ||||
-rw-r--r-- | net/net-snmp4/files/patch-hr_storage.c | 11 |
2 files changed, 28 insertions, 1 deletions
diff --git a/net/net-snmp4/files/patch-auto_nlist.c b/net/net-snmp4/files/patch-auto_nlist.c new file mode 100644 index 000000000000..5a2885b45cf3 --- /dev/null +++ b/net/net-snmp4/files/patch-auto_nlist.c @@ -0,0 +1,18 @@ +--- agent/auto_nlist.c.orig Thu Feb 7 20:42:03 2002 ++++ agent/auto_nlist.c Sun Nov 17 00:40:52 2002 +@@ -31,6 +31,15 @@ + #endif + #endif + ++#if HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif ++ ++#if defined(__FreeBSD__) && (__FreeBSD_version >= 500000) ++#include <sys/types.h> ++#include <sys/time.h> ++#endif ++ + #include "auto_nlist.h" + #include "autonlist.h" + #include "kernel.h" diff --git a/net/net-snmp4/files/patch-hr_storage.c b/net/net-snmp4/files/patch-hr_storage.c index cc4541ab0f59..1dfe804c9c4b 100644 --- a/net/net-snmp4/files/patch-hr_storage.c +++ b/net/net-snmp4/files/patch-hr_storage.c @@ -1,5 +1,14 @@ --- agent/mibgroup/host/hr_storage.c.orig Mon Mar 18 22:39:56 2002 -+++ agent/mibgroup/host/hr_storage.c Thu Aug 29 11:54:11 2002 ++++ agent/mibgroup/host/hr_storage.c Sun Nov 17 00:43:32 2002 +@@ -32,7 +32,7 @@ + #else + #if HAVE_VM_VM_H + #include <vm/vm.h> +-#if HAVE_MACHINE_TYPES_H ++#if HAVE_MACHINE_TYPES_H && (!defined(__FreeBSD__) || __FreeBSD_version < 500000) + #include <machine/types.h> + #endif + #if HAVE_SYS_VMMETER_H @@ -145,7 +145,7 @@ #define HRFS_mount mnt_mountp #define HRFS_statfs statvfs |