Fix compilation on < 1.5. Patch provided by Havard Eidnes.

This commit is contained in:
wiz 2001-02-20 13:00:36 +00:00
parent 5de11cd51a
commit b70fb4d9bb
2 changed files with 16 additions and 5 deletions

View file

@ -1,6 +1,3 @@
$NetBSD: patch-sum,v 1.2 2001/02/19 14:34:53 simonb Exp $
$NetBSD: patch-sum,v 1.3 2001/02/20 13:00:36 wiz Exp $
This placeholder file is generated by the ``makepatchsum'' target
whenever the patches directory is empty or missing. Its purpose
is to ensure that the presence of any obsolete patches will cause
the proper error to be emitted at build time.
MD5 (patch-aa) = cb130390c1d93f51f7140c01dbb4a0ff

View file

@ -0,0 +1,14 @@
$NetBSD: patch-aa,v 1.3 2001/02/20 13:00:37 wiz Exp $
--- xuvmstat.c.orig Mon Feb 19 15:23:55 2001
+++ xuvmstat.c
@@ -31,6 +31,9 @@
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/time.h>
+#if (__NetBSD_Version__ < 105000000)
+#include <vm/vm.h>
+#endif
#include <uvm/uvm_extern.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>