Unbreak on -current.

Submitted by:	Olivier Houchard <cognet@ci0.org>
This commit is contained in:
Jun Kuriyama 2002-11-16 15:48:33 +00:00
parent 0615579738
commit f68f5986d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70252
4 changed files with 56 additions and 2 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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