summaryrefslogtreecommitdiff
path: root/usr.sbin/rbootd
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:50:08 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 01:50:08 +0000
commit1c23282a9a6f261299f6c5f9b5579dbeef3b51c2 (patch)
tree1f96b7da5dcdeec15febbcd9185bb516469c0a48 /usr.sbin/rbootd
parent9eb1375e8f7c8e5ce4622ca52fd30eccfceedc4d (diff)
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
Diffstat (limited to 'usr.sbin/rbootd')
-rw-r--r--usr.sbin/rbootd/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rbootd/utils.c b/usr.sbin/rbootd/utils.c
index 28a9654137b..13b321b2beb 100644
--- a/usr.sbin/rbootd/utils.c
+++ b/usr.sbin/rbootd/utils.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utils.c,v 1.15 2016/05/29 02:19:02 guenther Exp $ */
+/* $OpenBSD: utils.c,v 1.16 2016/08/27 01:50:07 guenther Exp $ */
/* $NetBSD: utils.c,v 1.5.2.1 1995/11/14 08:45:46 thorpej Exp $ */
/*
@@ -43,6 +43,7 @@
* Author: Jeff Forys, University of Utah CSS
*/
+#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>