1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net/ucd-snmp/files/patch-ab
Bill Fumerola 9208fd7439 From the submitter:
- <sys/conf.h> requires 'SPECNAMELEN'.
- 'SPECNAMELEN' is defined in <sys/param.h>
- however, disk.c includes <sys/conf.h> before including <sys/param.h>

Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-12-31 05:17:01 +00:00

57 lines
1.4 KiB
Plaintext

--- agent/mibgroup/ucd-snmp/disk.c~ Fri Mar 5 08:45:00 1999
+++ agent/mibgroup/ucd-snmp/disk.c Sat Apr 3 13:33:11 1999
@@ -24,12 +24,12 @@
#include <sys/vmmeter.h>
#endif
#endif
-#if HAVE_SYS_CONF_H
-#include <sys/conf.h>
-#endif
#if HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
+#if HAVE_SYS_CONF_H
+#include <sys/conf.h>
+#endif
#if HAVE_ASM_PAGE_H
#include <asm/page.h>
#endif
@@ -86,6 +86,7 @@
#include <vm/vm.h>
#endif
#if HAVE_VM_SWAP_PAGER_H
+#include <vm/vm.h>
#include <vm/swap_pager.h>
#endif
#if HAVE_SYS_FIXPOINT_H
--- agent/mibgroup/ucd-snmp/errormib.c~ Tue Mar 2 05:27:30 1999
+++ agent/mibgroup/ucd-snmp/errormib.c Sat Apr 3 13:33:44 1999
@@ -93,6 +93,7 @@
#define statvfs statfs
#endif
#if HAVE_VM_SWAP_PAGER_H
+#include <vm/vm.h>
#include <vm/swap_pager.h>
#endif
#if HAVE_SYS_FIXPOINT_H
--- agent/mibgroup/ucd-snmp/extensible.c~ Fri Mar 5 08:45:01 1999
+++ agent/mibgroup/ucd-snmp/extensible.c Sat Apr 3 13:34:13 1999
@@ -81,6 +81,7 @@
#define statvfs statfs
#endif
#if HAVE_VM_SWAP_PAGER_H
+#include <vm/vm.h>
#include <vm/swap_pager.h>
#endif
#if HAVE_SYS_FIXPOINT_H
--- agent/mibgroup/ucd-snmp/loadave.c~ Tue Mar 16 08:21:02 1999
+++ agent/mibgroup/ucd-snmp/loadave.c Sat Apr 3 13:34:39 1999
@@ -80,6 +80,7 @@
#define statvfs statfs
#endif
#if HAVE_VM_SWAP_PAGER_H
+#include <vm/vm.h>
#include <vm/swap_pager.h>
#endif
#if HAVE_SYS_FIXPOINT_H