diff options
author | 2013-08-13 06:56:41 +0000 | |
---|---|---|
committer | 2013-08-13 06:56:41 +0000 | |
commit | e64b5fc40b08ff1704dec80699a019461374e2a0 (patch) | |
tree | 5e37a118b9443b48a7b57c6fc30bb9af5ec36d17 | |
parent | regen (diff) | |
download | wireguard-openbsd-e64b5fc40b08ff1704dec80699a019461374e2a0.tar.xz wireguard-openbsd-e64b5fc40b08ff1704dec80699a019461374e2a0.zip |
Make the tree compile again on architectures without drm(4).
ok maja@, miod@, jsg@
-rw-r--r-- | sys/uvm/uvm_device.c | 5 |
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 |