Pull in <sys/time.h> for clock_ymdhms bits
authorguenther <guenther@openbsd.org>
Fri, 26 Aug 2016 07:09:56 +0000 (07:09 +0000)
committerguenther <guenther@openbsd.org>
Fri, 26 Aug 2016 07:09:56 +0000 (07:09 +0000)
ok deraadt@

sys/kern/clock_subr.c

index 7b07e21..dd371c3 100644 (file)
@@ -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);