pkgsrc/devel/libgtop/patches/patch-ap
2000-07-30 02:45:40 +00:00

22 lines
569 B
Text

$NetBSD: patch-ap,v 1.1 2000/07/30 02:45:41 jlam Exp $
--- sysdeps/freebsd/mem.c.orig Sun Feb 13 10:47:58 2000
+++ sysdeps/freebsd/mem.c Sat Jul 29 22:32:44 2000
@@ -29,7 +29,9 @@
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
+#if defined(__NetBSD__) && (__NetBSD_Version__ < 105020000)
#include <vm/vm_param.h>
+#endif
#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
#include <uvm/uvm_extern.h>
@@ -74,7 +76,6 @@
};
/* MIB array for sysctl */
-static int mib_length=2;
#ifdef __bsdi__
static int mib [] = { CTL_VM, VM_TOTAL };
#else