summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-11 23:07:52 +0000
committerderaadt <deraadt@openbsd.org>2013-11-11 23:07:52 +0000
commit934f30d83312310317777d240c76d7dcd89cc7ae (patch)
tree738da1bf2b610b546028fbe352ca2e769e2dc51c
parentunused prototype (diff)
downloadwireguard-openbsd-934f30d83312310317777d240c76d7dcd89cc7ae.tar.xz
wireguard-openbsd-934f30d83312310317777d240c76d7dcd89cc7ae.zip
oops, forgot a #ifdef AOE in last commit
-rw-r--r--sbin/bioctl/bioctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index 887005f20fc..3d3191fceb4 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.115 2013/11/04 21:02:58 deraadt Exp $ */
+/* $OpenBSD: bioctl.c,v 1.116 2013/11/11 23:07:52 deraadt Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -38,6 +38,7 @@
#include <err.h>
#include <fcntl.h>
#include <util.h>
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -816,7 +817,9 @@ bio_createraid(u_int16_t level, char *dev_list, char *key_disk)
struct bioc_createraid create;
struct sr_crypto_kdfinfo kdfinfo;
struct sr_crypto_kdf_pbkdf2 kdfhint;
+#ifdef AOE
struct sr_aoe_config *sac;
+#endif /* AOE */
struct stat sb;
int rv, no_dev, fd;
dev_t *dt;