summaryrefslogtreecommitdiff
path: root/x11/kdebase
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2000-05-20 20:39:41 +0000
committerabs <abs@pkgsrc.org>2000-05-20 20:39:41 +0000
commit5f37ccdba82740f532854c3e8c12f896ffc0c91c (patch)
tree6c056acb238a6e906f451c1147064f5adbbcbb73 /x11/kdebase
parentb57cbb465069cf94b721b2ed60d1cc6931b0043b (diff)
downloadpkgsrc-5f37ccdba82740f532854c3e8c12f896ffc0c91c.tar.gz
Do not try to include old vm/vm_swap.h header in the UVM world.
Now builds on -current systems without old 1.4 headers still lying around.
Diffstat (limited to 'x11/kdebase')
-rw-r--r--x11/kdebase/files/memory_netbsd.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/kdebase/files/memory_netbsd.cpp b/x11/kdebase/files/memory_netbsd.cpp
index c70dfe7efc2..e47b1c4ee1e 100644
--- a/x11/kdebase/files/memory_netbsd.cpp
+++ b/x11/kdebase/files/memory_netbsd.cpp
@@ -1,4 +1,4 @@
-/* $NetBSD: memory_netbsd.cpp,v 1.1 1999/07/19 09:43:08 tron Exp $ */
+/* $NetBSD: memory_netbsd.cpp,v 1.2 2000/05/20 20:39:41 abs Exp $ */
#include <sys/param.h>
#if __NetBSD_Version__ > 103080000
@@ -9,9 +9,10 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/sysctl.h>
-#include <vm/vm_swap.h>
#ifdef UVM
#include <uvm/uvm_extern.h>
+#else
+#include <vm/vm_swap.h>
#endif
void KMemoryWidget::update()