summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rbootd/utils.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 01:50:07 +0000
committerguenther <guenther@openbsd.org>2016-08-27 01:50:07 +0000
commit23ec78dbc117859198ed1fa5bf7d93055899dc7a (patch)
treef278dbbd3cc821d8c374625aa4eaaf3ee0722d3d /usr.sbin/rbootd/utils.c
parentPull in <sys/time.h> for gettimeofday() (diff)
downloadwireguard-openbsd-23ec78dbc117859198ed1fa5bf7d93055899dc7a.tar.xz
wireguard-openbsd-23ec78dbc117859198ed1fa5bf7d93055899dc7a.zip
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
Diffstat (limited to 'usr.sbin/rbootd/utils.c')
-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>