summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorabs <abs>2000-05-20 20:39:41 +0000
committerabs <abs>2000-05-20 20:39:41 +0000
commit227ec7dd411fcb49964827ce5ef9bd0df13710d7 (patch)
tree6c056acb238a6e906f451c1147064f5adbbcbb73 /x11
parentfec35dd574b3d1995646adc971821abf7daef582 (diff)
downloadpkgsrc-227ec7dd411fcb49964827ce5ef9bd0df13710d7.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')
-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()