summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/stubs.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-10-14 17:54:46 +0000
committerderaadt <deraadt@openbsd.org>2015-10-14 17:54:46 +0000
commitf0497452f47985a0b8bb830d686ade2c73f5e8ca (patch)
tree7b61ab14e5921e320fbc2b4df99a32a4a99bad54 /usr.sbin/installboot/stubs.c
parentCheck mmap and read return values. While at it, remove unused duplicated file. (diff)
downloadwireguard-openbsd-f0497452f47985a0b8bb830d686ade2c73f5e8ca.tar.xz
wireguard-openbsd-f0497452f47985a0b8bb830d686ade2c73f5e8ca.zip
worse, need even more includes...
Diffstat (limited to 'usr.sbin/installboot/stubs.c')
-rw-r--r--usr.sbin/installboot/stubs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/installboot/stubs.c b/usr.sbin/installboot/stubs.c
index 1992698deaf..a4b80d90f58 100644
--- a/usr.sbin/installboot/stubs.c
+++ b/usr.sbin/installboot/stubs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stubs.c,v 1.2 2014/01/18 01:49:30 jsing Exp $ */
+/* $OpenBSD: stubs.c,v 1.3 2015/10/14 17:54:46 deraadt Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -16,6 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <stdlib.h>
#include <err.h>
#include "installboot.h"