openbsd-ports/devel/libgtop2/patches/patch-sysdeps_bsd_mem_c
ajacoutot de57db5cf2 - update to 2.20.1
Note that it does not work better than previous in-tree version but it
will give us a better base to fix it.

joint work with jasper@
most patches adapted from NetBSD
fsusage patch from naddy@

ok jasper@
2008-02-09 16:52:24 +00:00

12 lines
400 B
Plaintext

$OpenBSD: patch-sysdeps_bsd_mem_c,v 1.1 2008/02/09 16:52:25 ajacoutot Exp $
--- sysdeps/bsd/mem.c.orig Fri Dec 28 16:31:10 2007
+++ sysdeps/bsd/mem.c Fri Dec 28 16:31:45 2007
@@ -34,6 +34,7 @@
#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
#include <uvm/uvm_extern.h>
+#include <uvm/uvm_param.h>
#endif
static const unsigned long _glibtop_sysdeps_mem =