diff options
author | tobiasu <tobiasu@openbsd.org> | 2016-02-18 23:38:18 +0000 |
---|---|---|
committer | tobiasu <tobiasu@openbsd.org> | 2016-02-18 23:38:18 +0000 |
commit | 2c4d70f0e68e5604096f5534dd650bb554a5f6d5 (patch) | |
tree | f84e3485eba33fcc39b3e16dec5530f9af5ae6d7 /usr.sbin/installboot | |
parent | TMPDIR is no longer supported; (diff) | |
download | wireguard-openbsd-2c4d70f0e68e5604096f5534dd650bb554a5f6d5.tar.xz wireguard-openbsd-2c4d70f0e68e5604096f5534dd650bb554a5f6d5.zip |
sync() requires unistd.h
Reported by Sigi Rudzio. Thanks!
"go for it" deraadt@
Diffstat (limited to 'usr.sbin/installboot')
-rw-r--r-- | usr.sbin/installboot/vax_installboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/installboot/vax_installboot.c b/usr.sbin/installboot/vax_installboot.c index 1f1ab061991..0bb3febefb4 100644 --- a/usr.sbin/installboot/vax_installboot.c +++ b/usr.sbin/installboot/vax_installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vax_installboot.c,v 1.4 2015/11/30 17:34:57 jsing Exp $ */ +/* $OpenBSD: vax_installboot.c,v 1.5 2016/02/18 23:38:18 tobiasu Exp $ */ /* * Copyright (c) 2013 Joel Sing <jsing@openbsd.org> @@ -17,6 +17,7 @@ */ #include <stdlib.h> +#include <unistd.h> #include "installboot.h" |