summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/mkfs.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-01-24 22:29:21 +0000
committermiod <miod@openbsd.org>2014-01-24 22:29:21 +0000
commit36a9afd9a68b0c404925d7619547647bfb2978bb (patch)
tree38ea2ee4c82786dcc39c693ea0fef3c3cef34ed6 /sbin/newfs/mkfs.c
parentDisable lapic when halting CPUs. Allegedly this is necessary to make (diff)
downloadwireguard-openbsd-36a9afd9a68b0c404925d7619547647bfb2978bb.tar.xz
wireguard-openbsd-36a9afd9a68b0c404925d7619547647bfb2978bb.zip
Don't include <machine/vmparam.h> directly. Instead, get it with its necessary
dependencies via <sys/sysctl.h>. Unbreaks ppc userland build.
Diffstat (limited to 'sbin/newfs/mkfs.c')
-rw-r--r--sbin/newfs/mkfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 38c8a5cba52..1b6f3d9e6e4 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkfs.c,v 1.84 2013/11/12 04:59:02 deraadt Exp $ */
+/* $OpenBSD: mkfs.c,v 1.85 2014/01/24 22:29:21 miod Exp $ */
/* $NetBSD: mkfs.c,v 1.25 1995/06/18 21:35:38 cgd Exp $ */
/*
@@ -40,7 +40,6 @@
*/
#include <sys/param.h>
-#include <machine/vmparam.h>
#include <sys/time.h>
#include <sys/disklabel.h>
#include <sys/ioctl.h>