summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 07:09:57 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 07:09:57 +0000
commit16c77236ce0cff86a6daf376386f90f32dbb9aba (patch)
treee313b3076fdc8205099cd57b376251d81684a60a /sys
parentd25d9ad03fbd3bb94cb2e9e17e7f89baf8c3d991 (diff)
Pull in <sys/time.h> for clock_ymdhms bits
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/clock_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/clock_subr.c b/sys/kern/clock_subr.c
index 7b07e214c8b..dd371c336cc 100644
--- a/sys/kern/clock_subr.c
+++ b/sys/kern/clock_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock_subr.c,v 1.5 2015/03/14 03:38:50 jsg Exp $ */
+/* $OpenBSD: clock_subr.c,v 1.6 2016/08/26 07:09:56 guenther Exp $ */
/* $NetBSD: clock_subr.c,v 1.3 1997/03/15 18:11:16 is Exp $ */
/*
@@ -46,6 +46,7 @@
*/
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/systm.h>
static inline int leapyear(int year);