From 666622ee3f33452a057eda5fe87eccc36a155a6e Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 15 Oct 2015 04:41:09 +0000 Subject: [PATCH] give up; include stdlib.h from the .h file, sigh --- usr.sbin/installboot/installboot.h | 4 +++- usr.sbin/installboot/stubs.c | 3 +-- 2 files changed, 4 insertions(+), 3 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 * @@ -15,6 +15,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include + extern int nowrite; extern int stages; extern int verbose; diff --git a/usr.sbin/installboot/stubs.c b/usr.sbin/installboot/stubs.c index a4b80d90f58..ced93a1daf8 100644 --- a/usr.sbin/installboot/stubs.c +++ b/usr.sbin/installboot/stubs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stubs.c,v 1.3 2015/10/14 17:54:46 deraadt Exp $ */ +/* $OpenBSD: stubs.c,v 1.4 2015/10/15 04:41:10 deraadt Exp $ */ /* * Copyright (c) 2014 Joel Sing @@ -16,7 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include #include #include "installboot.h" -- 2.20.1