summaryrefslogtreecommitdiff
path: root/sbin/raidctl/raidctl.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-16 21:51:41 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-16 21:51:41 +0000
commit3d144d51bb3a8097ff22e539179a77fc294747df (patch)
treeff3203cb70a6b66e7cfa59ef8b66635325115774 /sbin/raidctl/raidctl.c
parent9bc348fb42f8f5618fdd744d1dbd04bcca83cfe6 (diff)
merge from netbsd 990213 + make compile with our includes
Diffstat (limited to 'sbin/raidctl/raidctl.c')
-rw-r--r--sbin/raidctl/raidctl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sbin/raidctl/raidctl.c b/sbin/raidctl/raidctl.c
index 9c49a61bfbd..95db0294c6a 100644
--- a/sbin/raidctl/raidctl.c
+++ b/sbin/raidctl/raidctl.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: raidctl.c,v 1.1 1999/01/11 14:49:44 niklas Exp $ */
-
+/* $OpenBSD: raidctl.c,v 1.2 1999/02/16 21:51:39 niklas Exp $ */
+/* $NetBSD: raidctl.c,v 1.4 1999/02/04 14:50:31 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -54,10 +54,11 @@
#include <fcntl.h>
#include <ctype.h>
#include <err.h>
+#include <errno.h>
#include <sys/types.h>
#include <string.h>
-#include <sys/disklabel.h>
-#include <machine/disklabel.h>
+#include <unistd.h>
+
#include "rf_raidframe.h"
extern char *__progname;