summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-08-13 06:56:42 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-08-13 06:56:42 +0000
commita1bd9b00f4b2fdf76515f8d2e73164f76a30f2cb (patch)
tree43bcb783505d82ff7672bc613df7c246bffc3f5d /sys/uvm
parent718bdef9f7c68dd29ea4f2adb43382d12c4c5ed0 (diff)
Make the tree compile again on architectures without drm(4).
ok maja@, miod@, jsg@
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_device.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/uvm/uvm_device.c b/sys/uvm/uvm_device.c
index 316d932d2cf..9a5d93dec71 100644
--- a/sys/uvm/uvm_device.c
+++ b/sys/uvm/uvm_device.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_device.c,v 1.43 2013/06/07 20:46:14 kettenis Exp $ */
+/* $OpenBSD: uvm_device.c,v 1.44 2013/08/13 06:56:41 kettenis Exp $ */
/* $NetBSD: uvm_device.c,v 1.30 2000/11/25 06:27:59 chs Exp $ */
/*
@@ -50,7 +50,10 @@
#include <uvm/uvm.h>
#include <uvm/uvm_device.h>
+#if defined(__amd64__) || defined(__i386__) || \
+ defined(__macppc__) || defined(__sparc64__)
#include "drm.h"
+#endif
/*
* private global data structure