summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/installboot.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-10-15 04:41:09 +0000
committerderaadt <deraadt@openbsd.org>2015-10-15 04:41:09 +0000
commit666622ee3f33452a057eda5fe87eccc36a155a6e (patch)
tree7043344cf2900f0bee37039e0f95be3ccfe12886 /usr.sbin/installboot/installboot.h
parentfsck_ffs has a ^T signal handler which opens /dev/tty late. Hoist that (diff)
downloadwireguard-openbsd-666622ee3f33452a057eda5fe87eccc36a155a6e.tar.xz
wireguard-openbsd-666622ee3f33452a057eda5fe87eccc36a155a6e.zip
give up; include stdlib.h from the .h file, sigh
Diffstat (limited to 'usr.sbin/installboot/installboot.h')
-rw-r--r--usr.sbin/installboot/installboot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/installboot/installboot.h b/usr.sbin/installboot/installboot.h
index 82961c9c366..996a574dcc9 100644
--- a/usr.sbin/installboot/installboot.h
+++ b/usr.sbin/installboot/installboot.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.h,v 1.8 2015/10/14 14:13:12 jsg Exp $ */
+/* $OpenBSD: installboot.h,v 1.9 2015/10/15 04:41:09 deraadt Exp $ */
/*
* Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org>
*
@@ -15,6 +15,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <stdlib.h>
+
extern int nowrite;
extern int stages;
extern int verbose;