summaryrefslogtreecommitdiff
path: root/lib/libarch/alpha
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2012-12-20 21:05:08 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2012-12-20 21:05:08 +0000
commit046e9c088a1df00db9cafc427ec35a2110a6e6dc (patch)
tree40b521d59355ba5f2ae0223640b469e0878ff7b6 /lib/libarch/alpha
parentf24289b7a275edaa1335b558e1f063fcf68e1fa6 (diff)
include machine/cpu.h now that is isn't any longer pulled in indirectly
by sys/sysctl.h; ok deraadt@ millert@
Diffstat (limited to 'lib/libarch/alpha')
-rw-r--r--lib/libarch/alpha/bwx.c3
-rw-r--r--lib/libarch/alpha/io.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libarch/alpha/bwx.c b/lib/libarch/alpha/bwx.c
index af7bdc8afc2..1819b6308c2 100644
--- a/lib/libarch/alpha/bwx.c
+++ b/lib/libarch/alpha/bwx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwx.c,v 1.5 2012/12/05 23:19:58 deraadt Exp $ */
+/* $OpenBSD: bwx.c,v 1.6 2012/12/20 21:05:07 naddy Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
@@ -33,6 +33,7 @@
#include <err.h>
#include <paths.h>
#include <machine/bwx.h>
+#include <machine/cpu.h>
#include <machine/sysarch.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/lib/libarch/alpha/io.c b/lib/libarch/alpha/io.c
index 8515752a21a..d9662493008 100644
--- a/lib/libarch/alpha/io.c
+++ b/lib/libarch/alpha/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.3 2012/12/05 23:19:58 deraadt Exp $ */
+/* $OpenBSD: io.c,v 1.4 2012/12/20 21:05:07 naddy Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
@@ -28,6 +28,7 @@
#include <sys/param.h>
#include <sys/types.h>
#include <sys/sysctl.h>
+#include <machine/cpu.h>
#include <err.h>
#include "io.h"